We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d00ee17 commit 85b0e75Copy full SHA for 85b0e75
crates/wasmi/src/engine/translator/func2/visit.rs
@@ -1057,7 +1057,7 @@ impl<'a> VisitOperator<'a> for FuncTranslator {
1057
}
1058
1059
fn visit_i32_wrap_i64(&mut self) -> Self::Output {
1060
- todo!()
+ self.translate_unary::<i64, i32>(Instruction::i32_wrap_i64, wasm::i32_wrap_i64)
1061
1062
1063
fn visit_i32_trunc_f32_s(&mut self) -> Self::Output {
@@ -1089,7 +1089,7 @@ impl<'a> VisitOperator<'a> for FuncTranslator {
1089
1090
1091
fn visit_i64_extend_i32_s(&mut self) -> Self::Output {
1092
+ self.translate_unary::<i32, i64>(Instruction::i64_extend32_s, wasm::i64_extend_i32_s)
1093
1094
1095
fn visit_i64_extend_i32_u(&mut self) -> Self::Output {
0 commit comments