Fix a typo in workflow (#1760)

This commit is contained in:
liang.he
2022-11-30 14:00:30 +08:00
committed by GitHub
parent f8701560df
commit 216b2cb540
2 changed files with 10 additions and 15 deletions

View File

@ -1286,11 +1286,8 @@ jit_compile_func(JitCompContext *cc)
#if WASM_ENABLE_TAIL_CALL != 0
case WASM_OP_RETURN_CALL:
if (!cc->enable_tail_call) {
jit_set_last_error(cc, "unsupported opcode");
return false;
}
read_leb_uint32(frame_ip, frame_ip_end, func_idx);
if (!jit_compile_op_call(cc, func_idx, true))
return false;
if (!jit_compile_op_return(cc, &frame_ip))
@ -1301,11 +1298,6 @@ jit_compile_func(JitCompContext *cc)
{
uint32 tbl_idx;
if (!cc->enable_tail_call) {
jit_set_last_error(cc, "unsupported opcode");
return false;
}
read_leb_uint32(frame_ip, frame_ip_end, type_idx);
#if WASM_ENABLE_REF_TYPES != 0
read_leb_uint32(frame_ip, frame_ip_end, tbl_idx);