From: Nicholas Clark Date: Thu, 28 Oct 2010 15:36:56 +0000 (+0100) Subject: In B.xs, move the definition of PMOP_pmnext adjacent to its usage. X-Git-Tag: accepted/trunk/20130322.191538~7104 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e6070cd609a1c2bf6abe7cb73ab39e0af43355f1;p=platform%2Fupstream%2Fperl.git In B.xs, move the definition of PMOP_pmnext adjacent to its usage. Now it lives within the #ifdef guarding the conditional compilation of the only code that uses it. --- diff --git a/ext/B/B.xs b/ext/B/B.xs index d8b89e2..1208c2e 100644 --- a/ext/B/B.xs +++ b/ext/B/B.xs @@ -977,7 +977,6 @@ LISTOP_children(o) OUTPUT: RETVAL -#define PMOP_pmnext(o) o->op_pmnext #ifdef USE_ITHREADS #define PMOP_pmoffset(o) o->op_pmoffset #define PMOP_pmstashpv(o) PmopSTASHPV(o); @@ -1041,6 +1040,7 @@ PMOP_pmreplstart(o) B::PMOP o #if PERL_VERSION < 9 +#define PMOP_pmnext(o) o->op_pmnext B::PMOP PMOP_pmnext(o)