mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2024-11-26 15:32:05 +00:00
Remove handling unsupported opcodes in loader (#1464)
Remove handling opcode DROP_64/SELECT_64 in loader stage prepare_bytecode, as they are the modified opcodes of DROP/SELECT for optimization purpose, but not the opcodes defined by spec.
This commit is contained in:
parent
6820af6212
commit
8a7dd4dc3e
|
@ -7313,7 +7313,6 @@ re_scan:
|
|||
}
|
||||
|
||||
case WASM_OP_DROP:
|
||||
case WASM_OP_DROP_64:
|
||||
{
|
||||
BranchBlock *cur_block = loader_ctx->frame_csp - 1;
|
||||
int32 available_stack_cell =
|
||||
|
@ -7381,7 +7380,6 @@ re_scan:
|
|||
}
|
||||
|
||||
case WASM_OP_SELECT:
|
||||
case WASM_OP_SELECT_64:
|
||||
{
|
||||
uint8 ref_type;
|
||||
BranchBlock *cur_block = loader_ctx->frame_csp - 1;
|
||||
|
|
|
@ -5519,7 +5519,6 @@ re_scan:
|
|||
}
|
||||
|
||||
case WASM_OP_DROP:
|
||||
case WASM_OP_DROP_64:
|
||||
{
|
||||
BranchBlock *cur_block = loader_ctx->frame_csp - 1;
|
||||
int32 available_stack_cell =
|
||||
|
@ -5572,7 +5571,6 @@ re_scan:
|
|||
}
|
||||
|
||||
case WASM_OP_SELECT:
|
||||
case WASM_OP_SELECT_64:
|
||||
{
|
||||
uint8 ref_type;
|
||||
BranchBlock *cur_block = loader_ctx->frame_csp - 1;
|
||||
|
|
Loading…
Reference in New Issue
Block a user