mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-03-12 08:55:28 +00:00
formatting
This commit is contained in:
parent
188eb1c941
commit
857e6b73c8
|
@ -780,8 +780,7 @@ aot_create_call_stack(struct WASMExecEnv *exec_env);
|
|||
#if WAMR_ENABLE_COPY_CALLSTACK != 0
|
||||
uint32
|
||||
aot_copy_callstack(WASMExecEnv *exec_env, wasm_frame_ptr_t buffer,
|
||||
const uint32 length,
|
||||
const uint32 skip_n);
|
||||
const uint32 length, const uint32 skip_n);
|
||||
#endif // WAMR_ENABLE_COPY_CALLSTACK
|
||||
|
||||
/**
|
||||
|
|
|
@ -1743,8 +1743,7 @@ wasm_runtime_destroy_exec_env(WASMExecEnv *exec_env)
|
|||
#if WAMR_ENABLE_COPY_CALLSTACK != 0
|
||||
uint32
|
||||
wasm_copy_callstack(const wasm_exec_env_t exec_env, wasm_frame_ptr_t buffer,
|
||||
const uint32 length,
|
||||
const uint32 skip_n)
|
||||
const uint32 length, const uint32 skip_n)
|
||||
{
|
||||
/*
|
||||
* Note for devs: please refrain from such modifications inside of
|
||||
|
|
|
@ -126,7 +126,6 @@ typedef WASMFunctionInstanceCommon *wasm_function_inst_t;
|
|||
struct WASMMemoryInstance;
|
||||
typedef struct WASMMemoryInstance *wasm_memory_inst_t;
|
||||
|
||||
|
||||
typedef struct wasm_frame_t {
|
||||
/* wasm_instance_t */
|
||||
void *instance;
|
||||
|
@ -880,7 +879,6 @@ wasm_runtime_create_exec_env(wasm_module_inst_t module_inst,
|
|||
WASM_RUNTIME_API_EXTERN void
|
||||
wasm_runtime_destroy_exec_env(wasm_exec_env_t exec_env);
|
||||
|
||||
|
||||
/**
|
||||
* @brief Copy callstack frames.
|
||||
*
|
||||
|
@ -898,7 +896,8 @@ wasm_runtime_destroy_exec_env(wasm_exec_env_t exec_env);
|
|||
* - exec_env->module_inst->module
|
||||
*
|
||||
* @param exec_env the execution environment that containes frames
|
||||
* @param buffer the buffer of size equal length * sizeof(frame) to copy frames to
|
||||
* @param buffer the buffer of size equal length * sizeof(frame) to copy frames
|
||||
* to
|
||||
* @param length the number of frames to copy
|
||||
* @param skip_n the number of frames to skip from the top of the stack
|
||||
*
|
||||
|
|
|
@ -4196,7 +4196,6 @@ wasm_get_module_inst_mem_consumption(const WASMModuleInstance *module_inst,
|
|||
#endif /* end of (WASM_ENABLE_MEMORY_PROFILING != 0) \
|
||||
|| (WASM_ENABLE_MEMORY_TRACING != 0) */
|
||||
|
||||
|
||||
#if WAMR_ENABLE_COPY_CALLSTACK != 0
|
||||
uint32
|
||||
wasm_interp_copy_callstack(WASMExecEnv *exec_env, wasm_frame_ptr_t buffer,
|
||||
|
|
Loading…
Reference in New Issue
Block a user