summaryrefslogtreecommitdiff
path: root/gv.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2007-03-31 23:15:15 +0000
committerNicholas Clark <nick@ccl4.org>2007-03-31 23:15:15 +0000
commit9bd878171021311bd025e403714388c68ff5d9e2 (patch)
tree230642a1528afc0c53aed7a66102b21d48a036f0 /gv.h
parentb1225a1b471182e0a875e14b76da023a738eea62 (diff)
downloadperl-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.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/gv.h b/gv.h
index 61af704d4e..8494137672 100644
--- a/gv.h
+++ b/gv.h
@@ -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) */
};