From 37a3ca330fca12a9f939f923c5d590410e5d9f11 Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Mon, 15 Mar 2010 23:29:10 +0100 Subject: Reorder various structs to reduce padding (thanks to /usr/bin/pahole). --- src/lj_jit.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/lj_jit.h') 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 { BCIns *patchpc; /* PC for pending re-patch. */ BCIns patchins; /* Instruction for pending re-patch. */ - TValue errinfo; /* Additional info element for trace errors. */ - + int mcprot; /* Protection of current mcode area. */ MCode *mcarea; /* Base of current mcode area. */ MCode *mctop; /* Top of current mcode area. */ MCode *mcbot; /* Bottom of current mcode area. */ size_t szmcarea; /* Size of current mcode area. */ size_t szallmcarea; /* Total size of all allocated mcode areas. */ - int mcprot; /* Protection of current mcode area. */ + + TValue errinfo; /* Additional info element for trace errors. */ } jit_State; /* Trivial PRNG e.g. used for penalty randomization. */ -- cgit v1.2.3-55-g6feb