summaryrefslogtreecommitdiff
path: root/src/passes/FuncCastEmulation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/passes/FuncCastEmulation.cpp')
-rw-r--r--src/passes/FuncCastEmulation.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/passes/FuncCastEmulation.cpp b/src/passes/FuncCastEmulation.cpp
index 69bc39585..b4e600b31 100644
--- a/src/passes/FuncCastEmulation.cpp
+++ b/src/passes/FuncCastEmulation.cpp
@@ -66,8 +66,8 @@ static Expression* toABI(Expression* value, Module* module) {
assert(false && "v128 not implemented yet");
WASM_UNREACHABLE();
}
- case except_ref: {
- assert(false && "except_ref cannot be converted to i64");
+ case exnref: {
+ assert(false && "exnref cannot be converted to i64");
WASM_UNREACHABLE();
}
case none: {
@@ -108,8 +108,8 @@ static Expression* fromABI(Expression* value, Type type, Module* module) {
assert(false && "v128 not implemented yet");
WASM_UNREACHABLE();
}
- case except_ref: {
- assert(false && "except_ref cannot be converted from i64");
+ case exnref: {
+ assert(false && "exnref cannot be converted from i64");
WASM_UNREACHABLE();
}
case none: {