summaryrefslogtreecommitdiff
path: root/pad.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2005-05-20 21:11:52 +0000
committerNicholas Clark <nick@ccl4.org>2005-05-20 21:11:52 +0000
commit11ca45c0440b891278a1e7129025dd5644026556 (patch)
tree9091ca5bf20af6659e0e73384a258d5ac3ddbb3d /pad.c
parent7596a890808c68b396a85f42b3695b1e97cbe208 (diff)
downloadperl-11ca45c0440b891278a1e7129025dd5644026556.tar.gz
Goodbye AvFLAGS
p4raw-id: //depot/perl@24518
Diffstat (limited to 'pad.c')
-rw-r--r--pad.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pad.c b/pad.c
index 0473f9af4e..e8dd681409 100644
--- a/pad.c
+++ b/pad.c
@@ -176,7 +176,7 @@ Perl_pad_new(pTHX_ int flags)
AV * const a0 = newAV(); /* will be @_ */
av_extend(a0, 0);
av_store(pad, 0, (SV*)a0);
- AvFLAGS(a0) = AVf_REIFY;
+ AvREIFY_only(a0);
}
else {
av_store(pad, 0, Nullsv);
@@ -1180,7 +1180,7 @@ Perl_pad_tidy(pTHX_ padtidy_type type)
AV *av = newAV(); /* Will be @_ */
av_extend(av, 0);
av_store(PL_comppad, 0, (SV*)av);
- AvFLAGS(av) = AVf_REIFY;
+ AvREIFY_only(av);
}
/* XXX DAPM rationalise these two similar branches */
@@ -1597,7 +1597,7 @@ Perl_pad_push(pTHX_ PADLIST *padlist, int depth)
av = newAV();
av_extend(av, 0);
av_store(newpad, 0, (SV*)av);
- AvFLAGS(av) = AVf_REIFY;
+ AvREIFY_only(av);
av_store(padlist, depth, (SV*)newpad);
AvFILLp(padlist) = depth;