Fix typo in Fast JIT's BUILD_COND_BR Macro (#2092)
This commit is contained in:
@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
#define BUILD_COND_BR(value_if, block_then, block_else) \
|
#define BUILD_COND_BR(value_if, block_then, block_else) \
|
||||||
do { \
|
do { \
|
||||||
if (!GEN_INSN(CMP, cc->cmp_reg, value_if, NEW_CONST(cc, 0)) \
|
if (!GEN_INSN(CMP, cc->cmp_reg, value_if, NEW_CONST(I32, 0)) \
|
||||||
|| !GEN_INSN(BNE, cc->cmp_reg, jit_basic_block_label(block_then), \
|
|| !GEN_INSN(BNE, cc->cmp_reg, jit_basic_block_label(block_then), \
|
||||||
jit_basic_block_label(block_else))) { \
|
jit_basic_block_label(block_else))) { \
|
||||||
jit_set_last_error(cc, "generate bne insn failed"); \
|
jit_set_last_error(cc, "generate bne insn failed"); \
|
||||||
|
|||||||
Reference in New Issue
Block a user