Silence unhandled case warns (#823)

This commit is contained in:
illusion0001 2024-09-12 15:01:13 -05:00 committed by GitHub
parent a49c7e9dcb
commit b911c70d35
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 17 additions and 0 deletions

View file

@ -1364,6 +1364,8 @@ U16U32U64 IREmitter::UConvert(size_t result_bitsize, const U16U32U64& value) {
switch (value.Type()) {
case Type::U16:
return Inst<U32>(Opcode::ConvertU32U16, value);
default:
break;
}
default:
break;

View file

@ -81,6 +81,7 @@ bool Value::operator==(const Value& other) const {
case Type::F64x2:
case Type::F64x3:
case Type::F64x4:
default:
break;
}
UNREACHABLE_MSG("Invalid type {}", type);