mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-05-22 01:21:22 +00:00
fix: update preprocessor directive for WASM_INSTRUCTION_METERING check
This commit is contained in:
parent
a7d90ebf59
commit
ad6ba3d7cf
|
@ -2285,7 +2285,7 @@ wasm_runtime_access_exce_check_guard_page()
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef WASM_INSTRUCTION_METERING
|
#if WASM_INSTRUCTION_METERING != 0
|
||||||
void
|
void
|
||||||
wasm_runtime_set_instruction_count_limit(WASMExecEnv *exec_env,
|
wasm_runtime_set_instruction_count_limit(WASMExecEnv *exec_env,
|
||||||
int instructions_to_execute)
|
int instructions_to_execute)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user