summaryrefslogtreecommitdiff
path: root/pp.h
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2014-09-21 12:52:59 -0700
committerFather Chrysostomos <sprout@cpan.org>2014-09-21 13:40:06 -0700
commitd739d27d3ebeb2deed70d9d0b7cf78959c1375f0 (patch)
tree000b9b0a643aacbbb72b9aff7646cbd091f1fa33 /pp.h
parent42262fd376c1e577f7a3a11ba0a606c6a3de1567 (diff)
downloadperl-d739d27d3ebeb2deed70d9d0b7cf78959c1375f0.tar.gz
pp.h: Remove SETsv and SETsvUN
With commit 6f1401dc2a, most of the old overload macros stopped being used. d4f7673c78 removed them. SETsv and SETsvUN were only used by the removed macros, and are now completetly unused in core and on CPAN.
Diffstat (limited to 'pp.h')
-rw-r--r--pp.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/pp.h b/pp.h
index d0691f89e9..00e942059a 100644
--- a/pp.h
+++ b/pp.h
@@ -479,15 +479,6 @@ Does not use C<TARG>. See also C<XPUSHu>, C<mPUSHu> and C<PUSHu>.
#define opASSIGN (PL_op->op_flags & OPf_STACKED)
-#define SETsv(sv) STMT_START { \
- if (opASSIGN || (SvFLAGS(TARG) & SVs_PADMY)) \
- { sv_setsv(TARG, (sv)); SETTARG; } \
- else SETs(sv); } STMT_END
-
-#define SETsvUN(sv) STMT_START { \
- if (SvFLAGS(TARG) & SVs_PADMY) \
- { sv_setsv(TARG, (sv)); SETTARG; } \
- else SETs(sv); } STMT_END
/*
=for apidoc mU||LVRET