summaryrefslogtreecommitdiff
path: root/cv.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2006-02-25 15:38:25 +0000
committerNicholas Clark <nick@ccl4.org>2006-02-25 15:38:25 +0000
commit584307902de552f84517013f42d1db478f4102bd (patch)
tree5c30770d078b412e7ced2d07b3444c7ead5ee1a4 /cv.h
parent27bd069fdd0f917015e698e36bfc41a29daa63be (diff)
downloadperl-584307902de552f84517013f42d1db478f4102bd.tar.gz
xgv_stash can be stored as a union with the NV, reducing the size of
PVGVs by another pointer. p4raw-id: //depot/perl@27326
Diffstat (limited to 'cv.h')
-rw-r--r--cv.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/cv.h b/cv.h
index 960e72735b..6d93d7171f 100644
--- a/cv.h
+++ b/cv.h
@@ -11,7 +11,10 @@
/* This structure must the beginning of XPVFM in sv.h */
struct xpvcv {
- NV xnv_nv; /* numeric value, if any */
+ union {
+ NV xnv_nv; /* numeric value, if any */
+ HV * xgv_stash;
+ } xnv_u;
STRLEN xpv_cur; /* length of xp_pv as a C string */
STRLEN xpv_len; /* allocated size */
union {