Add unsupported instruction message

This commit is contained in:
Rerumu 2022-08-22 13:11:36 -04:00
parent 5b96c500df
commit e40023e8e6

View File

@ -614,7 +614,7 @@ impl<'a> Factory<'a> {
Operator::I64Const { value } => self.target.push_constant(value),
Operator::F32Const { value } => self.target.push_constant(value.bits()),
Operator::F64Const { value } => self.target.push_constant(value.bits()),
_ => unimplemented!(),
_ => panic!("Unsupported instruction: {:?}", op),
}
}