Skip to content

Commit df30c8b

Browse files
committed
WASM_X64: Support visit_I32TruncF64S()
1 parent 05bde7d commit df30c8b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libasr/codegen/wasm_to_x64.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,7 @@ class X64Visitor : public WASMDecoder<X64Visitor>,
342342
void visit_I32Ne() { visit_I64Ne(); }
343343

344344
void visit_I32WrapI64() { } // empty, since i32's and i64's are considered similar currently.
345+
void visit_I32TruncF64S() { visit_I64TruncF64S(); }
345346

346347
void visit_I64Const(int64_t value) {
347348
m_a.asm_mov_r64_imm64(X64Reg::rax, labs((int64_t)value));

0 commit comments

Comments
 (0)