summaryrefslogtreecommitdiff
path: root/cv.h
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2012-09-11 20:22:57 -0700
committerFather Chrysostomos <sprout@cpan.org>2012-09-11 20:22:57 -0700
commit8de476573990fa8cc938a6ad450e0fb337234ff4 (patch)
treeea3fa982289f1d318df235be044c88dcd3645e03 /cv.h
parent9ef8d5694201d933f4a61efde1fac904a29f55de (diff)
downloadperl-8de476573990fa8cc938a6ad450e0fb337234ff4.tar.gz
Unify CvDEPTH for formats and subs
As Dave Mitchell pointed out, while putting the CvDEPTH field for for- mats in the SvCUR slot might save memory for formats, it slows down sub calls because CvDEPTH is used on subs in very hot code paths. Checking the SvTYPE to determine which field to use should not be necessary.
Diffstat (limited to 'cv.h')
-rw-r--r--cv.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/cv.h b/cv.h
index 7c06727102..960ae1d05e 100644
--- a/cv.h
+++ b/cv.h
@@ -13,7 +13,6 @@
struct xpvcv {
_XPV_HEAD;
_XPVCV_COMMON;
- I32 xcv_depth; /* >= 2 indicates recursive call */
};
/*