summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--XSUB.h3
-rw-r--r--pp.h2
2 files changed, 3 insertions, 2 deletions
diff --git a/XSUB.h b/XSUB.h
index 241ac40e49..509a1d6b04 100644
--- a/XSUB.h
+++ b/XSUB.h
@@ -11,6 +11,9 @@
I32 ax = mark - PL_stack_base + 1; \
I32 items = sp - mark
+#define dXSTARG SV * targ = ((PL_op->op_private & OPpENTERSUB_HASTARG) \
+ ? PAD_SV(PL_op->op_targ) : sv_newmortal())
+
#define XSANY CvXSUBANY(cv)
#define dXSI32 I32 ix = XSANY.any_i32
diff --git a/pp.h b/pp.h
index 11dd9d0e82..ec701f3054 100644
--- a/pp.h
+++ b/pp.h
@@ -49,8 +49,6 @@
#define dTARG SV *targ
-#define dXS_TARGET SV * targ = (PL_op->op_private & OPpENTERSUB_HASTARG ? PAD_SV(PL_op->op_targ) : sv_newmortal())
-
#define NORMAL PL_op->op_next
#define DIE return Perl_die