diff options
Diffstat (limited to 'src/tools/wasm2js.cpp')
-rw-r--r-- | src/tools/wasm2js.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tools/wasm2js.cpp b/src/tools/wasm2js.cpp index 524be4c5c..68334708f 100644 --- a/src/tools/wasm2js.cpp +++ b/src/tools/wasm2js.cpp @@ -630,8 +630,7 @@ Ref AssertionEmitter::emitAssertReturnFunc(Builder& wasmBuilder, } default: { - std::cerr << "Unhandled type in assert: " << resType << std::endl; - abort(); + Fatal() << "Unhandled type in assert: " << resType; } } } else { |