mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-04-20 05:53:26 +00:00
Merge branch 'master' into v2.1
This commit is contained in:
commit
c5b8e9168b
@ -853,9 +853,12 @@ static void bcemit_comp(FuncState *fs, BinOpr opr, ExpDesc *e1, ExpDesc *e2)
|
|||||||
e1 = e2; e2 = eret; /* Swap operands. */
|
e1 = e2; e2 = eret; /* Swap operands. */
|
||||||
op = ((op-BC_ISLT)^3)+BC_ISLT;
|
op = ((op-BC_ISLT)^3)+BC_ISLT;
|
||||||
expr_toval(fs, e1);
|
expr_toval(fs, e1);
|
||||||
}
|
ra = expr_toanyreg(fs, e1);
|
||||||
|
rd = expr_toanyreg(fs, e2);
|
||||||
|
} else {
|
||||||
rd = expr_toanyreg(fs, e2);
|
rd = expr_toanyreg(fs, e2);
|
||||||
ra = expr_toanyreg(fs, e1);
|
ra = expr_toanyreg(fs, e1);
|
||||||
|
}
|
||||||
ins = BCINS_AD(op, ra, rd);
|
ins = BCINS_AD(op, ra, rd);
|
||||||
}
|
}
|
||||||
/* Using expr_free might cause asserts if the order is wrong. */
|
/* Using expr_free might cause asserts if the order is wrong. */
|
||||||
|
Loading…
Reference in New Issue
Block a user