Skip to content

Commit 8350d98

Browse files
authored
Unify results of SELECTCC (#1197)
1 parent 9e3c6ac commit 8350d98

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/iwasm/fast-jit/fe/jit_emit_numberic.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -685,8 +685,8 @@ compile_int_div(JitCompContext *cc, IntArithmetic arith_op, bool is_i32,
685685
}
686686
}
687687
else {
688-
JitReg cmp1 = is_i32 ? jit_cc_new_reg_I32(cc) : jit_cc_new_reg_I64(cc);
689-
JitReg cmp2 = is_i32 ? jit_cc_new_reg_I32(cc) : jit_cc_new_reg_I64(cc);
688+
JitReg cmp1 = jit_cc_new_reg_I32(cc);
689+
JitReg cmp2 = jit_cc_new_reg_I32(cc);
690690

691691
GEN_INSN(CMP, cc->cmp_reg, right,
692692
is_i32 ? NEW_CONST(I32, 0) : NEW_CONST(I64, 0));

0 commit comments

Comments
 (0)