This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
scrounge and save three extra branches in pp_entersub()
[perl5.git] / pp_ctl.c
index 9d22e64..da56eca 100644 (file)
--- a/pp_ctl.c
+++ b/pp_ctl.c
@@ -2120,6 +2120,7 @@ PP(pp_goto)
            /* Now do some callish stuff. */
            SAVETMPS;
            if (CvXSUB(cv)) {
+#ifdef PERL_XSUB_OLDSTYLE
                if (CvOLDSTYLE(cv)) {
                    I32 (*fp3)_((int,int,int));
                    while (SP > mark) {
@@ -2132,7 +2133,9 @@ PP(pp_goto)
                                   items);
                    SP = PL_stack_base + items;
                }
-               else {
+               else
+#endif /* PERL_XSUB_OLDSTYLE */
+               {
                    SV **newsp;
                    I32 gimme;