aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Pall <mike>2011-07-23 17:53:09 +0200
committerMike Pall <mike>2011-07-23 17:53:09 +0200
commitee2bb5efed2c1172edd34280c53d9778ec20efb4 (patch)
treeabe8464103fad01174e6cd22e3a9bf2172be1ecc /src
parentd001d7b7ce0126558e4b442aa1d0cd88fee43570 (diff)
downloadluajit-ee2bb5efed2c1172edd34280c53d9778ec20efb4.tar.gz
luajit-ee2bb5efed2c1172edd34280c53d9778ec20efb4.tar.bz2
luajit-ee2bb5efed2c1172edd34280c53d9778ec20efb4.zip
Use different workaround for alignment of jit_State.
Diffstat (limited to 'src')
-rw-r--r--src/lj_jit.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lj_jit.h b/src/lj_jit.h
index 1f7ddc21..8f87899c 100644
--- a/src/lj_jit.h
+++ b/src/lj_jit.h
@@ -368,7 +368,11 @@ typedef struct jit_State {
368 size_t szallmcarea; /* Total size of all allocated mcode areas. */ 368 size_t szallmcarea; /* Total size of all allocated mcode areas. */
369 369
370 TValue errinfo; /* Additional info element for trace errors. */ 370 TValue errinfo; /* Additional info element for trace errors. */
371} LJ_ALIGN(16) jit_State; 371}
372#if LJ_TARGET_ARM
373LJ_ALIGN(16) /* For DISPATCH-relative addresses in assembler part. */
374#endif
375jit_State;
372 376
373/* Trivial PRNG e.g. used for penalty randomization. */ 377/* Trivial PRNG e.g. used for penalty randomization. */
374static LJ_AINLINE uint32_t LJ_PRNG_BITS(jit_State *J, int bits) 378static LJ_AINLINE uint32_t LJ_PRNG_BITS(jit_State *J, int bits)