mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 15:14:08 +00:00
Fix alias analysis for table length forwarding.
Contributed by Maxim Sokolov.
This commit is contained in:
parent
80bb1428aa
commit
4ef96cff88
@ -432,7 +432,7 @@ TRef LJ_FASTCALL lj_opt_fwd_alen(jit_State *J)
|
||||
fins->op2 = aref->op2; /* Set ALEN hint. */
|
||||
}
|
||||
goto doemit; /* Conflicting store, possibly giving a hint. */
|
||||
} else if (aa_table(J, tab, fref->op1) == ALIAS_NO) {
|
||||
} else if (aa_table(J, tab, fref->op1) != ALIAS_NO) {
|
||||
goto doemit; /* Conflicting store. */
|
||||
}
|
||||
sref = store->prev;
|
||||
|
Loading…
Reference in New Issue
Block a user