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 4b9dfae7c..9865b8707 100644 --- a/src/literal.h +++ b/src/literal.h @@ -80,6 +80,7 @@ public: Literal(int32_t(0)), Literal(int32_t(0)), Literal(int32_t(0))}}); + case Type::anyref: // there's no anyref literals case Type::exnref: // there's no exnref literals case none: case unreachable: @@ -430,6 +431,7 @@ template<> struct less<wasm::Literal> { return a.reinterpreti64() < b.reinterpreti64(); case wasm::Type::v128: return memcmp(a.getv128Ptr(), b.getv128Ptr(), 16) < 0; + case wasm::Type::anyref: // anyref is an opaque value case wasm::Type::exnref: // exnref is an opaque value case wasm::Type::none: case wasm::Type::unreachable: |