summaryrefslogtreecommitdiff
path: root/src/passes/ConstHoisting.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/passes/ConstHoisting.cpp')
-rw-r--r--src/passes/ConstHoisting.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/passes/ConstHoisting.cpp b/src/passes/ConstHoisting.cpp
index 149ba6504..17761e765 100644
--- a/src/passes/ConstHoisting.cpp
+++ b/src/passes/ConstHoisting.cpp
@@ -95,8 +95,8 @@ private:
// v128 not implemented yet
return false;
}
- case except_ref: {
- // except_ref cannot have literals
+ case exnref: {
+ // exnref cannot have literals
return false;
}
case none: