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