aboutsummaryrefslogtreecommitdiff
path: root/src/lj_jit.h
diff options
context:
space:
mode:
authorMike Pall <mike>2020-08-05 15:21:00 +0200
committerMike Pall <mike>2020-08-05 15:21:00 +0200
commit2211f6f960b65d200a3142798cf86576405c24cb (patch)
treedd2c8ef73729f02ed3cddd5068cfaa4954c2e08e /src/lj_jit.h
parentc4b1e0feae75248f37945b1993f469df0d9ead53 (diff)
downloadluajit-2211f6f960b65d200a3142798cf86576405c24cb.tar.gz
luajit-2211f6f960b65d200a3142798cf86576405c24cb.tar.bz2
luajit-2211f6f960b65d200a3142798cf86576405c24cb.zip
ARM: Ensure relative GG_State element alignment differently.
Thanks to jojo59516 and dwing4g.
Diffstat (limited to 'src/lj_jit.h')
-rw-r--r--src/lj_jit.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lj_jit.h b/src/lj_jit.h
index 0e1c4827..4a4b0b1b 100644
--- a/src/lj_jit.h
+++ b/src/lj_jit.h
@@ -406,11 +406,7 @@ typedef struct jit_State {
406 size_t szallmcarea; /* Total size of all allocated mcode areas. */ 406 size_t szallmcarea; /* Total size of all allocated mcode areas. */
407 407
408 TValue errinfo; /* Additional info element for trace errors. */ 408 TValue errinfo; /* Additional info element for trace errors. */
409} 409} jit_State;
410#if LJ_TARGET_ARM
411LJ_ALIGN(16) /* For DISPATCH-relative addresses in assembler part. */
412#endif
413jit_State;
414 410
415/* Trivial PRNG e.g. used for penalty randomization. */ 411/* Trivial PRNG e.g. used for penalty randomization. */
416static LJ_AINLINE uint32_t LJ_PRNG_BITS(jit_State *J, int bits) 412static LJ_AINLINE uint32_t LJ_PRNG_BITS(jit_State *J, int bits)