ARM64: More improvements to the generation of immediates.

This commit is contained in:
Mike Pall
2021-06-03 03:21:56 +02:00
parent a119497bec
commit 69138082a3
3 changed files with 12 additions and 16 deletions

View File

@@ -2117,6 +2117,9 @@ static void asm_setup_regsp(ASMState *as)
#endif
ra_setup(as);
#if LJ_TARGET_ARM64
ra_setkref(as, RID_GL, (intptr_t)J2G(as->J));
#endif
/* Clear reg/sp for constants. */
for (ir = IR(T->nk), lastir = IR(REF_BASE); ir < lastir; ir++) {