aboutsummaryrefslogtreecommitdiff
path: root/src/lj_record.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lj_record.c')
-rw-r--r--src/lj_record.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/lj_record.c b/src/lj_record.c
index 2a4a766e..cfa48ecf 100644
--- a/src/lj_record.c
+++ b/src/lj_record.c
@@ -1009,13 +1009,8 @@ int lj_record_mm_lookup(jit_State *J, RecordIndex *ix, MMS mm)
1009 } 1009 }
1010 /* The cdata metatable is treated as immutable. */ 1010 /* The cdata metatable is treated as immutable. */
1011 if (LJ_HASFFI && tref_iscdata(ix->tab)) goto immutable_mt; 1011 if (LJ_HASFFI && tref_iscdata(ix->tab)) goto immutable_mt;
1012#if LJ_GC64
1013 /* TODO: fix ARM32 asm_fload(), so we can use this for all archs. */
1014 ix->mt = mix.tab = lj_ir_ggfload(J, IRT_TAB, 1012 ix->mt = mix.tab = lj_ir_ggfload(J, IRT_TAB,
1015 GG_OFS(g.gcroot[GCROOT_BASEMT+itypemap(&ix->tabv)])); 1013 GG_OFS(g.gcroot[GCROOT_BASEMT+itypemap(&ix->tabv)]));
1016#else
1017 ix->mt = mix.tab = lj_ir_ktab(J, mt);
1018#endif
1019 goto nocheck; 1014 goto nocheck;
1020 } 1015 }
1021 ix->mt = mt ? mix.tab : TREF_NIL; 1016 ix->mt = mt ? mix.tab : TREF_NIL;