mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 23:24:09 +00:00
Specialize based on key being constant string
This commit is contained in:
parent
6522e8019a
commit
2b077fbf0b
@ -2503,6 +2503,7 @@ void lj_record_ins(jit_State *J)
|
||||
/* fallthrough */
|
||||
case BC_TGETV: case BC_TGETS: case BC_TSETV: case BC_TSETS:
|
||||
ix.idxchain = LJ_MAX_IDXCHAIN;
|
||||
ix.mtspec = tref_isk(ix.key) && tref_isstr(ix.key);
|
||||
rc = lj_record_idx(J, &ix);
|
||||
break;
|
||||
case BC_TGETR: case BC_TSETR:
|
||||
|
Loading…
Reference in New Issue
Block a user