Fix TRef for (dummy) 2nd arg of __len metamethod.

This commit is contained in:
Mike Pall 2010-02-22 17:33:39 +01:00
parent 86494c783d
commit 3336434aa0

View File

@ -1947,7 +1947,7 @@ void lj_record_ins(jit_State *J)
} else {
ix.tab = rc;
copyTV(J->L, &ix.tabv, &ix.keyv);
ix.key = IRT_NIL;
ix.key = TREF_NIL;
setnilV(&ix.keyv);
rc = rec_mm_arith(J, &ix, MM_len);
}