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 9ffa79032..b5ffc491b 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::except_ref: // there's no except_ref literals case none: case unreachable: WASM_UNREACHABLE(); @@ -429,6 +430,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::except_ref: // except_ref is an opaque value case wasm::Type::none: case wasm::Type::unreachable: return false; |