summaryrefslogtreecommitdiff
path: root/src/wasm-builder.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm-builder.h')
-rw-r--r--src/wasm-builder.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wasm-builder.h b/src/wasm-builder.h
index 0bfa317d3..da74f47ef 100644
--- a/src/wasm-builder.h
+++ b/src/wasm-builder.h
@@ -1028,10 +1028,10 @@ public:
case Type::anyref:
case Type::eqref:
return ExpressionManipulator::refNull(curr, curr->type);
- case Type::dataref:
- WASM_UNREACHABLE("TODO: dataref");
case Type::i31ref:
return makeI31New(makeConst(0));
+ case Type::dataref:
+ WASM_UNREACHABLE("TODO: dataref");
case Type::none:
return ExpressionManipulator::nop(curr);
case Type::unreachable: