File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
crates/wasmi/src/engine/translator/func2 Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1157,7 +1157,7 @@ impl<'a> VisitOperator<'a> for FuncTranslator {
1157
1157
}
1158
1158
1159
1159
fn visit_f32_demote_f64 ( & mut self ) -> Self :: Output {
1160
- todo ! ( )
1160
+ self . translate_unary :: < f64 , f32 > ( Instruction :: f32_demote_f64 , wasm :: f32_demote_f64 )
1161
1161
}
1162
1162
1163
1163
fn visit_f64_convert_i32_s ( & mut self ) -> Self :: Output {
@@ -1177,7 +1177,7 @@ impl<'a> VisitOperator<'a> for FuncTranslator {
1177
1177
}
1178
1178
1179
1179
fn visit_f64_promote_f32 ( & mut self ) -> Self :: Output {
1180
- todo ! ( )
1180
+ self . translate_unary :: < f32 , f64 > ( Instruction :: f64_promote_f32 , wasm :: f64_promote_f32 )
1181
1181
}
1182
1182
1183
1183
fn visit_i32_reinterpret_f32 ( & mut self ) -> Self :: Output {
You can’t perform that action at this time.
0 commit comments