This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
add missing dVAR in pp_avhvswitch
authorDavid Mitchell <davem@iabyn.com>
Wed, 25 May 2016 17:30:17 +0000 (18:30 +0100)
committerDavid Mitchell <davem@iabyn.com>
Wed, 25 May 2016 17:30:17 +0000 (18:30 +0100)
make it build under -DPERL_GLOBAL_STRUCT.

pp.c

diff --git a/pp.c b/pp.c
index 17f31af..3df0bea 100644 (file)
--- a/pp.c
+++ b/pp.c
@@ -6418,7 +6418,7 @@ PP(pp_coreargs)
 
 PP(pp_avhvswitch)
 {
-    dSP;
+    dVAR; dSP;
     return PL_ppaddr[
                (SvTYPE(TOPs) == SVt_PVAV ? OP_AEACH : OP_EACH)
                    + (PL_op->op_private & 3)