Reoder struct am_table and am_table_short to save 8 bytes on LP64
authorNicholas Clark <nick@ccl4.org>
Fri, 6 Oct 2006 21:01:00 +0000 (21:01 +0000)
committerNicholas Clark <nick@ccl4.org>
Fri, 6 Oct 2006 21:01:00 +0000 (21:01 +0000)
systems, by placing the two U32 fields next to each other.

p4raw-id: //depot/perl@28949

perl.h

diff --git a/perl.h b/perl.h
index 8211598..363fa0c 100644 (file)
--- a/perl.h
+++ b/perl.h
@@ -5032,16 +5032,16 @@ EXTCONST char * PL_AMG_names[NofAMmeth];
 END_EXTERN_C
 
 struct am_table {
+  U32 flags;
   U32 was_ok_sub;
   long was_ok_am;
-  U32 flags;
   CV* table[NofAMmeth];
   long fallback;
 };
 struct am_table_short {
+  U32 flags;
   U32 was_ok_sub;
   long was_ok_am;
-  U32 flags;
 };
 typedef struct am_table AMT;
 typedef struct am_table_short AMTS;