summaryrefslogtreecommitdiff
path: root/src/ir/abstract.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ir/abstract.h')
-rw-r--r--src/ir/abstract.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ir/abstract.h b/src/ir/abstract.h
index e1c3b979a..2653218b0 100644
--- a/src/ir/abstract.h
+++ b/src/ir/abstract.h
@@ -81,6 +81,7 @@ inline UnaryOp getUnary(Type type, Op op) {
assert(false && "v128 not implemented yet");
WASM_UNREACHABLE();
}
+ case anyref: // there's no unary instructions for anyref
case exnref: // there's no unary instructions for exnref
case none:
case unreachable: {
@@ -212,6 +213,7 @@ inline BinaryOp getBinary(Type type, Op op) {
assert(false && "v128 not implemented yet");
WASM_UNREACHABLE();
}
+ case anyref: // there's no binary instructions for anyref
case exnref: // there's no binary instructions for exnref
case none:
case unreachable: {