summaryrefslogtreecommitdiff
path: root/pad.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2006-02-20 10:40:59 +0000
committerNicholas Clark <nick@ccl4.org>2006-02-20 10:40:59 +0000
commitaed2304a0354e5cd0ca22ed008e1922f54b0f438 (patch)
tree1138ff6e0aa651adb9234639339fd66c3cfbf793 /pad.c
parent7c60e4340985406f3dd47ad08209883de1b8aa3b (diff)
downloadperl-aed2304a0354e5cd0ca22ed008e1922f54b0f438.tar.gz
Add a new CvISXSUB() macro, for abstracting the test as to whether a
PVCV is perl or XS. p4raw-id: //depot/perl@27241
Diffstat (limited to 'pad.c')
-rw-r--r--pad.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pad.c b/pad.c
index aa806ea95a..75f08389d0 100644
--- a/pad.c
+++ b/pad.c
@@ -1445,8 +1445,8 @@ Perl_cv_clone(pTHX_ CV *proto)
CvCLONED_on(cv);
#ifdef USE_ITHREADS
- CvFILE(cv) = CvXSUB(proto) ? CvFILE(proto)
- : savepv(CvFILE(proto));
+ CvFILE(cv) = CvISXSUB(proto) ? CvFILE(proto)
+ : savepv(CvFILE(proto));
#else
CvFILE(cv) = CvFILE(proto);
#endif