summaryrefslogtreecommitdiff
path: root/src/lj_obj.h
diff options
context:
space:
mode:
authorMike Pall <mike>2010-03-15 23:29:10 +0100
committerMike Pall <mike>2010-03-15 23:29:10 +0100
commit37a3ca330fca12a9f939f923c5d590410e5d9f11 (patch)
tree0fac600c9cc04c6c50ce10224e29a15b358a82fc /src/lj_obj.h
parent1fea5cb822a4da746005e0cec35fc2fe2ed5880f (diff)
downloadluajit-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_obj.h')
-rw-r--r--src/lj_obj.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_obj.h b/src/lj_obj.h
index d463cb2c..a37c0882 100644
--- a/src/lj_obj.h
+++ b/src/lj_obj.h
@@ -532,7 +532,7 @@ typedef struct GCState {
532 uint8_t unused2; 532 uint8_t unused2;
533 MSize sweepstr; /* Sweep position in string table. */ 533 MSize sweepstr; /* Sweep position in string table. */
534 GCRef root; /* List of all collectable objects. */ 534 GCRef root; /* List of all collectable objects. */
535 GCRef *sweep; /* Sweep position in root list. */ 535 MRef sweep; /* Sweep position in root list. */
536 GCRef gray; /* List of gray objects. */ 536 GCRef gray; /* List of gray objects. */
537 GCRef grayagain; /* List of objects for atomic traversal. */ 537 GCRef grayagain; /* List of objects for atomic traversal. */
538 GCRef weak; /* List of weak tables (to be cleared). */ 538 GCRef weak; /* List of weak tables (to be cleared). */