diff options
Diffstat (limited to 'src/wasm2js.h')
-rw-r--r-- | src/wasm2js.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/wasm2js.h b/src/wasm2js.h index 745a56d59..ba7b55c08 100644 --- a/src/wasm2js.h +++ b/src/wasm2js.h @@ -1637,9 +1637,7 @@ Ref Wasm2JSBuilder::processFunctionBody(Module* m, RSHIFT, ValueBuilder::makeNum(16)); } - default: { - Fatal() << "Unhandled unary i32 operator: " << curr; - } + default: { WASM_UNREACHABLE("unhandled unary"); } } } case Type::f32: @@ -2151,7 +2149,7 @@ Ref Wasm2JSBuilder::processFunctionBody(Module* m, unimplemented(curr); WASM_UNREACHABLE("unimp"); } - Ref visitRefIsNull(RefIsNull* curr) { + Ref visitRefIs(RefIs* curr) { unimplemented(curr); WASM_UNREACHABLE("unimp"); } |