mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-06-16 01:59:13 +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
|
#ifdef WASM_INSTRUCTION_METERING
|
||||||
void
|
void
|
||||||
wasm_runtime_set_instructions_to_execute(WASMExecEnv *exec_env,
|
wasm_runtime_set_instruction_count_limit(WASMExecEnv *exec_env,
|
||||||
int instructions_to_execute)
|
int instructions_to_execute)
|
||||||
{
|
{
|
||||||
exec_env->instructions_to_execute = 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
|
#if WASM_INSTRUCTION_METERING != 0
|
||||||
/* See wasm_export.h for description */
|
/* See wasm_export.h for description */
|
||||||
WASM_RUNTIME_API_EXTERN void
|
WASM_RUNTIME_API_EXTERN void
|
||||||
wasm_runtime_set_exception_with_id(WASMModuleInstanceCommon *module,
|
wasm_runtime_set_instruction_count_limit(WASMExecEnv *exec_env,
|
||||||
uint32 exception_id);
|
int instructions_to_execute)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if WASM_CONFIGURABLE_BOUNDS_CHECKS != 0
|
#if WASM_CONFIGURABLE_BOUNDS_CHECKS != 0
|
||||||
/* See wasm_export.h for description */
|
/* See wasm_export.h for description */
|
||||||
WASM_RUNTIME_API_EXTERN void
|
WASM_RUNTIME_API_EXTERN
|
||||||
wasm_runtime_set_bounds_checks(WASMModuleInstanceCommon *module_inst,
|
void wasm_runtime_set_bounds_checks(WASMModuleInstanceCommon *module_inst,
|
||||||
bool enable);
|
bool enable);
|
||||||
|
|
||||||
/* See wasm_export.h for description */
|
/* See wasm_export.h for description */
|
||||||
WASM_RUNTIME_API_EXTERN bool
|
WASM_RUNTIME_API_EXTERN bool
|
||||||
|
|
Loading…
Reference in New Issue
Block a user