diff options
Diffstat (limited to 'src/passes/ConstHoisting.cpp')
-rw-r--r-- | src/passes/ConstHoisting.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/passes/ConstHoisting.cpp b/src/passes/ConstHoisting.cpp index 3b34751ff..a972c05fb 100644 --- a/src/passes/ConstHoisting.cpp +++ b/src/passes/ConstHoisting.cpp @@ -97,7 +97,9 @@ private: case Type::funcref: case Type::externref: case Type::exnref: - case Type::anyref: { + case Type::anyref: + case Type::eqref: + case Type::i31ref: { return false; } case Type::none: |