mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-05-14 13:41:31 +00:00
Disable memory shrink opt when memory.size opcode is found (#323)
This commit is contained in:
parent
88af12501d
commit
93ca9d8c62
|
@ -6127,6 +6127,8 @@ handle_op_block_and_loop:
|
||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
PUSH_I32();
|
PUSH_I32();
|
||||||
|
|
||||||
|
module->possible_memory_grow = true;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case WASM_OP_MEMORY_GROW:
|
case WASM_OP_MEMORY_GROW:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user