diff options
author | Mike Pall <mike> | 2020-06-13 01:12:14 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2020-06-13 01:12:14 +0200 |
commit | d333b1a6febf35f891fcd6e121876c9c3efee1e0 (patch) | |
tree | 7705bf83072fc5f9bec1f8232f44d8529eff5981 /src/lj_record.c | |
parent | 8ae5170cdc9c307bd81019b3e014391c9fd00581 (diff) | |
download | luajit-d333b1a6febf35f891fcd6e121876c9c3efee1e0.tar.gz luajit-d333b1a6febf35f891fcd6e121876c9c3efee1e0.tar.bz2 luajit-d333b1a6febf35f891fcd6e121876c9c3efee1e0.zip |
ARM: Implement FLOAD from GG_State.
Diffstat (limited to 'src/lj_record.c')
-rw-r--r-- | src/lj_record.c | 5 |
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; |