Reorder various structs to reduce padding (thanks to /usr/bin/pahole).

This commit is contained in:
Mike Pall
2010-03-15 23:29:10 +01:00
parent 1fea5cb822
commit 37a3ca330f
7 changed files with 15 additions and 15 deletions

View File

@@ -60,9 +60,6 @@ typedef struct ASMState {
SnapNo snapno; /* Current snapshot number. */
SnapNo loopsnapno; /* Loop snapshot number. */
Trace *T; /* Trace to assemble. */
Trace *parent; /* Parent trace (or NULL). */
IRRef fuseref; /* Fusion limit (loopref, 0 or FUSE_DISABLED). */
IRRef sectref; /* Section base reference (loopref or 0). */
IRRef loopref; /* Reference of LOOP instruction (or 0). */
@@ -70,6 +67,9 @@ typedef struct ASMState {
BCReg topslot; /* Number of slots for stack check (unless 0). */
MSize gcsteps; /* Accumulated number of GC steps (per section). */
Trace *T; /* Trace to assemble. */
Trace *parent; /* Parent trace (or NULL). */
MCode *mcbot; /* Bottom of reserved MCode. */
MCode *mctop; /* Top of generated MCode. */
MCode *mcloop; /* Pointer to loop MCode (or NULL). */