mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-05-11 12:11:14 +00:00
Fix typo in Fast JIT's BUILD_COND_BR Macro (#2092)
This commit is contained in:
parent
48429da29f
commit
aaf671d688
|
@ -30,7 +30,7 @@
|
|||
|
||||
#define BUILD_COND_BR(value_if, block_then, block_else) \
|
||||
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), \
|
||||
jit_basic_block_label(block_else))) { \
|
||||
jit_set_last_error(cc, "generate bne insn failed"); \
|
||||
|
|
Loading…
Reference in New Issue
Block a user