From ee2bb5efed2c1172edd34280c53d9778ec20efb4 Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Sat, 23 Jul 2011 17:53:09 +0200 Subject: [PATCH] Use different workaround for alignment of jit_State. --- src/lj_jit.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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)