This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
pp.c:pp_rv2cv: Remove PUTBACK
authorFather Chrysostomos <sprout@cpan.org>
Sun, 28 Dec 2014 21:57:57 +0000 (13:57 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Sun, 28 Dec 2014 21:57:57 +0000 (13:57 -0800)
pp_rv2cv doesn’t adjust the stack pointer at all, so there is no need
to synchronise with the global pointer before returning.

pp.c

diff --git a/pp.c b/pp.c
index 7f0220b..2eb6f73 100644 (file)
--- a/pp.c
+++ b/pp.c
@@ -469,7 +469,7 @@ PP(pp_rv2cv)
     else
        cv = MUTABLE_CV(&PL_sv_undef);
     SETs(MUTABLE_SV(cv));
-    RETURN;
+    return NORMAL;
 }
 
 PP(pp_prototype)