From 8a7fc0dc3015c8254ce4e866be71508e3379d45d Mon Sep 17 00:00:00 2001 From: Gurusamy Sarathy Date: Fri, 10 Sep 1999 19:22:14 +0000 Subject: s/dXS_TARGET/dXSTARG/ in change#4044 (to match dARGS vs dXSARGS etc.) p4raw-link: @4044 on //depot/cfgperl: d30110745a7a78b4c83e13a8406bad8c3e3294bf p4raw-id: //depot/perl@4125 --- XSUB.h | 3 +++ pp.h | 2 -- 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 -- cgit v1.2.1