ARM: Ensure relative GG_State element alignment differently.

Thanks to jojo59516 and dwing4g.
This commit is contained in:
Mike Pall
2020-08-05 15:21:00 +02:00
parent c4b1e0feae
commit 2211f6f960
2 changed files with 9 additions and 5 deletions

View File

@@ -406,11 +406,7 @@ typedef struct jit_State {
size_t szallmcarea; /* Total size of all allocated mcode areas. */
TValue errinfo; /* Additional info element for trace errors. */
}
#if LJ_TARGET_ARM
LJ_ALIGN(16) /* For DISPATCH-relative addresses in assembler part. */
#endif
jit_State;
} jit_State;
/* Trivial PRNG e.g. used for penalty randomization. */
static LJ_AINLINE uint32_t LJ_PRNG_BITS(jit_State *J, int bits)