Use different workaround for alignment of jit_State.

This commit is contained in:
Mike Pall 2011-07-23 17:53:09 +02:00
parent d001d7b7ce
commit ee2bb5efed

View 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)