summaryrefslogtreecommitdiff
path: root/hv.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2010-01-25 14:28:30 +0000
committerNicholas Clark <nick@ccl4.org>2010-05-21 07:03:52 +0100
commitde0a224a057997a65d38856f1981702fca5d7c18 (patch)
tree103b3c9abf5691f611aa4709e9a7ba437272e680 /hv.h
parent4f7003f5e8adb225a16f3788ec81e193021f41e5 (diff)
downloadperl-de0a224a057997a65d38856f1981702fca5d7c18.tar.gz
Remove union _xivu from struct xpvhv - replace it with a non-union xav_keys.
Diffstat (limited to 'hv.h')
-rw-r--r--hv.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/hv.h b/hv.h
index 438199455f..db79b46670 100644
--- a/hv.h
+++ b/hv.h
@@ -87,11 +87,9 @@ struct xpvhv {
union _xmgu xmg_u;
STRLEN xhv_fill; /* how full xhv_array currently is */
STRLEN xhv_max; /* subscript of last element of xhv_array */
- union _xivu xiv_u;
+ STRLEN xhv_keys; /* total keys, including placeholders */
};
-#define xhv_keys xiv_u.xivu_iv
-
/* hash a key */
/* FYI: This is the "One-at-a-Time" algorithm by Bob Jenkins
* from requirements by Colin Plumb.