summaryrefslogtreecommitdiff
path: root/src/wasm-stack.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm-stack.h')
-rw-r--r--src/wasm-stack.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wasm-stack.h b/src/wasm-stack.h
index 007e794b9..d32acb7da 100644
--- a/src/wasm-stack.h
+++ b/src/wasm-stack.h
@@ -758,7 +758,7 @@ void StackWriter<Mode, Parent>::visitLoad(Load* curr) {
// the pointer is unreachable, so we are never reached; just don't emit
// a load
return;
- case except_ref: // except_ref cannot be loaded from memory
+ case exnref: // exnref cannot be loaded from memory
case none:
WASM_UNREACHABLE();
}
@@ -868,7 +868,7 @@ void StackWriter<Mode, Parent>::visitStore(Store* curr) {
o << int8_t(BinaryConsts::SIMDPrefix)
<< U32LEB(BinaryConsts::V128Store);
break;
- case except_ref: // except_ref cannot be stored in memory
+ case exnref: // exnref cannot be stored in memory
case none:
case unreachable:
WASM_UNREACHABLE();
@@ -1335,7 +1335,7 @@ void StackWriter<Mode, Parent>::visitConst(Const* curr) {
}
break;
}
- case except_ref: // there's no except_ref.const
+ case exnref: // there's no exnref.const
case none:
case unreachable:
WASM_UNREACHABLE();