mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-06-15 17:49:16 +00:00
fix
This commit is contained in:
parent
422c8fb8be
commit
161c945cf7
|
@ -2287,7 +2287,7 @@ wasm_runtime_access_exce_check_guard_page()
|
|||
|
||||
#ifdef WASM_INSTRUCTION_METERING
|
||||
void
|
||||
wasm_runtime_set_instructions_to_execute(WASMExecEnv *exec_env,
|
||||
wasm_runtime_set_instruction_count_limit(WASMExecEnv *exec_env,
|
||||
int instructions_to_execute)
|
||||
{
|
||||
exec_env->instructions_to_execute = instructions_to_execute;
|
||||
|
|
|
@ -675,15 +675,15 @@ wasm_runtime_set_native_stack_boundary(WASMExecEnv *exec_env,
|
|||
#if WASM_INSTRUCTION_METERING != 0
|
||||
/* See wasm_export.h for description */
|
||||
WASM_RUNTIME_API_EXTERN void
|
||||
wasm_runtime_set_exception_with_id(WASMModuleInstanceCommon *module,
|
||||
uint32 exception_id);
|
||||
wasm_runtime_set_instruction_count_limit(WASMExecEnv *exec_env,
|
||||
int instructions_to_execute)
|
||||
#endif
|
||||
|
||||
#if WASM_CONFIGURABLE_BOUNDS_CHECKS != 0
|
||||
/* See wasm_export.h for description */
|
||||
WASM_RUNTIME_API_EXTERN void
|
||||
wasm_runtime_set_bounds_checks(WASMModuleInstanceCommon *module_inst,
|
||||
bool enable);
|
||||
/* See wasm_export.h for description */
|
||||
WASM_RUNTIME_API_EXTERN
|
||||
void wasm_runtime_set_bounds_checks(WASMModuleInstanceCommon *module_inst,
|
||||
bool enable);
|
||||
|
||||
/* See wasm_export.h for description */
|
||||
WASM_RUNTIME_API_EXTERN bool
|
||||
|
|
Loading…
Reference in New Issue
Block a user