This commit is contained in:
Alix ANNERAUD 2025-03-02 20:23:46 +01:00
parent 422c8fb8be
commit 161c945cf7
2 changed files with 7 additions and 7 deletions

View File

@ -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;

View File

@ -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