summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/wasm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm.h b/src/wasm.h
index 065e2a2d7..ecf44e72e 100644
--- a/src/wasm.h
+++ b/src/wasm.h
@@ -191,7 +191,7 @@ struct Literal {
o << '(';
prepareMinorColor(o) << printWasmType(literal.type) << ".const ";
switch (literal.type) {
- case none: abort();
+ case none: o << "?"; break;
case WasmType::i32: o << literal.i32; break;
case WasmType::i64: o << literal.i64; break;
case WasmType::f32: literal.printDouble(o, literal.f32); break;