diff options
Diffstat (limited to 'src/literal.h')
-rw-r--r-- | src/literal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/literal.h b/src/literal.h index fb5396147..a6727681b 100644 --- a/src/literal.h +++ b/src/literal.h @@ -759,6 +759,7 @@ template<> struct hash<wasm::Literal> { case wasm::Type::exnref: case wasm::Type::anyref: case wasm::Type::eqref: + case wasm::Type::dataref: return hashRef(); case wasm::Type::i31ref: wasm::rehash(digest, a.geti31(true)); @@ -814,6 +815,7 @@ template<> struct less<wasm::Literal> { case wasm::Type::exnref: case wasm::Type::anyref: case wasm::Type::eqref: + case wasm::Type::dataref: case wasm::Type::i31ref: case wasm::Type::none: case wasm::Type::unreachable: |