mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 23:24:09 +00:00
Merge branch 'master' into v2.1
This commit is contained in:
commit
945af491b6
@ -1986,7 +1986,8 @@ LJFOLDF(merge_eqne_snew_kgc)
|
||||
if (len <= FOLD_SNEW_MAX_LEN) {
|
||||
IROp op = (IROp)fins->o;
|
||||
IRRef strref = fleft->op1;
|
||||
lua_assert(IR(strref)->o == IR_STRREF);
|
||||
if (IR(strref)->o != IR_STRREF)
|
||||
return NEXTFOLD;
|
||||
if (op == IR_EQ) {
|
||||
emitir(IRTGI(IR_EQ), fleft->op2, lj_ir_kint(J, len));
|
||||
/* Caveat: fins/fleft/fright is no longer valid after emitir. */
|
||||
|
Loading…
Reference in New Issue
Block a user