diff options
author | Nicholas Clark <nick@ccl4.org> | 2007-03-31 23:15:15 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2007-03-31 23:15:15 +0000 |
commit | 9bd878171021311bd025e403714388c68ff5d9e2 (patch) | |
tree | 230642a1528afc0c53aed7a66102b21d48a036f0 /gv.h | |
parent | b1225a1b471182e0a875e14b76da023a738eea62 (diff) | |
download | perl-9bd878171021311bd025e403714388c68ff5d9e2.tar.gz |
Rearrange members of structures to reduce memory size on some
platforms. On LP64 structs stackinfo, refcounted_he, and magic shrink
by 8 bytes, struct yy_parser by 16.
p4raw-id: //depot/perl@30817
Diffstat (limited to 'gv.h')
-rw-r--r-- | gv.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -10,14 +10,14 @@ struct gp { SV * gp_sv; /* scalar value */ - U32 gp_refcnt; /* how many globs point to this? */ struct io * gp_io; /* filehandle value */ - CV * gp_form; /* format value */ - AV * gp_av; /* array value */ - HV * gp_hv; /* hash value */ - GV * gp_egv; /* effective gv, if *glob */ CV * gp_cv; /* subroutine value */ U32 gp_cvgen; /* generational validity of cached gv_cv */ + U32 gp_refcnt; /* how many globs point to this? */ + HV * gp_hv; /* hash value */ + AV * gp_av; /* array value */ + CV * gp_form; /* format value */ + GV * gp_egv; /* effective gv, if *glob */ line_t gp_line; /* line first declared at (for -w) */ HEK * gp_file_hek; /* file first declared in (for -w) */ }; |