]> git.ipfire.org Git - thirdparty/LuaJIT.git/commitdiff
Use different workaround for alignment of jit_State.
authorMike Pall <mike>
Sat, 23 Jul 2011 15:53:09 +0000 (17:53 +0200)
committerMike Pall <mike>
Sat, 23 Jul 2011 15:53:09 +0000 (17:53 +0200)
src/lj_jit.h

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