mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-06-15 17:49:16 +00:00
fix: move instructions_to_execute field in WASMExecEnv (overwriten before)
This commit is contained in:
parent
76392b546b
commit
e4ceb6b429
|
@ -87,6 +87,11 @@ typedef struct WASMExecEnv {
|
||||||
uint8 *bottom;
|
uint8 *bottom;
|
||||||
} wasm_stack;
|
} wasm_stack;
|
||||||
|
|
||||||
|
#if WASM_INSTRUCTION_METERING != 0
|
||||||
|
/* instructions to execute */
|
||||||
|
int instructions_to_execute;
|
||||||
|
#endif
|
||||||
|
|
||||||
#if WASM_ENABLE_FAST_JIT != 0
|
#if WASM_ENABLE_FAST_JIT != 0
|
||||||
/**
|
/**
|
||||||
* Cache for
|
* Cache for
|
||||||
|
@ -166,11 +171,6 @@ typedef struct WASMExecEnv {
|
||||||
/* The WASM stack. */
|
/* The WASM stack. */
|
||||||
uint8 bottom[1];
|
uint8 bottom[1];
|
||||||
} wasm_stack_u;
|
} wasm_stack_u;
|
||||||
|
|
||||||
#if WASM_INSTRUCTION_METERING != 0
|
|
||||||
/* instructions to execute */
|
|
||||||
int instructions_to_execute;
|
|
||||||
#endif
|
|
||||||
} WASMExecEnv;
|
} WASMExecEnv;
|
||||||
|
|
||||||
#if WASM_ENABLE_MEMORY_PROFILING != 0
|
#if WASM_ENABLE_MEMORY_PROFILING != 0
|
||||||
|
|
Loading…
Reference in New Issue
Block a user