diff options
author | Mike Pall <mike> | 2010-03-15 23:29:10 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2010-03-15 23:29:10 +0100 |
commit | 37a3ca330fca12a9f939f923c5d590410e5d9f11 (patch) | |
tree | 0fac600c9cc04c6c50ce10224e29a15b358a82fc /src/lj_jit.h | |
parent | 1fea5cb822a4da746005e0cec35fc2fe2ed5880f (diff) | |
download | luajit-37a3ca330fca12a9f939f923c5d590410e5d9f11.tar.gz luajit-37a3ca330fca12a9f939f923c5d590410e5d9f11.tar.bz2 luajit-37a3ca330fca12a9f939f923c5d590410e5d9f11.zip |
Reorder various structs to reduce padding (thanks to /usr/bin/pahole).
Diffstat (limited to 'src/lj_jit.h')
-rw-r--r-- | src/lj_jit.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lj_jit.h b/src/lj_jit.h index 76d7942b..7850878d 100644 --- a/src/lj_jit.h +++ b/src/lj_jit.h | |||
@@ -304,14 +304,14 @@ typedef struct jit_State { | |||
304 | BCIns *patchpc; /* PC for pending re-patch. */ | 304 | BCIns *patchpc; /* PC for pending re-patch. */ |
305 | BCIns patchins; /* Instruction for pending re-patch. */ | 305 | BCIns patchins; /* Instruction for pending re-patch. */ |
306 | 306 | ||
307 | TValue errinfo; /* Additional info element for trace errors. */ | 307 | int mcprot; /* Protection of current mcode area. */ |
308 | |||
309 | MCode *mcarea; /* Base of current mcode area. */ | 308 | MCode *mcarea; /* Base of current mcode area. */ |
310 | MCode *mctop; /* Top of current mcode area. */ | 309 | MCode *mctop; /* Top of current mcode area. */ |
311 | MCode *mcbot; /* Bottom of current mcode area. */ | 310 | MCode *mcbot; /* Bottom of current mcode area. */ |
312 | size_t szmcarea; /* Size of current mcode area. */ | 311 | size_t szmcarea; /* Size of current mcode area. */ |
313 | size_t szallmcarea; /* Total size of all allocated mcode areas. */ | 312 | size_t szallmcarea; /* Total size of all allocated mcode areas. */ |
314 | int mcprot; /* Protection of current mcode area. */ | 313 | |
314 | TValue errinfo; /* Additional info element for trace errors. */ | ||
315 | } jit_State; | 315 | } jit_State; |
316 | 316 | ||
317 | /* Trivial PRNG e.g. used for penalty randomization. */ | 317 | /* Trivial PRNG e.g. used for penalty randomization. */ |