From: Mike Pall Date: Sat, 23 Jul 2011 15:53:09 +0000 (+0200) Subject: Use different workaround for alignment of jit_State. X-Git-Tag: v2.0.0-beta9~126 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee2bb5efed2c1172edd34280c53d9778ec20efb4;p=thirdparty%2FLuaJIT.git Use different workaround for alignment of jit_State. --- 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 { 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)