summaryrefslogtreecommitdiff
path: root/src/wasm/wasm-validator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm/wasm-validator.cpp')
-rw-r--r--src/wasm/wasm-validator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wasm/wasm-validator.cpp b/src/wasm/wasm-validator.cpp
index 01cb1e2a8..8ada2af70 100644
--- a/src/wasm/wasm-validator.cpp
+++ b/src/wasm/wasm-validator.cpp
@@ -1059,7 +1059,7 @@ void FunctionValidator::validateMemBytes(uint8_t bytes,
shouldBeEqual(
bytes, uint8_t(16), curr, "expected v128 operation to touch 16 bytes");
break;
- case except_ref: // except_ref cannot be stored in memory
+ case exnref: // exnref cannot be stored in memory
case none:
WASM_UNREACHABLE();
case unreachable:
@@ -1625,7 +1625,7 @@ void FunctionValidator::validateAlignment(
case v128:
case unreachable:
break;
- case except_ref: // except_ref cannot be stored in memory
+ case exnref: // exnref cannot be stored in memory
case none:
WASM_UNREACHABLE();
}