Disable memory shrink opt when memory.size opcode is found (#323)

This commit is contained in:
Wenyong Huang 2020-07-30 10:18:55 +08:00 committed by GitHub
parent 88af12501d
commit 93ca9d8c62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6127,6 +6127,8 @@ handle_op_block_and_loop:
goto fail;
}
PUSH_I32();
module->possible_memory_grow = true;
break;
case WASM_OP_MEMORY_GROW: