This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
add PL_curstackinfo->si_stack_hwm
[perl5.git] / pp_hot.c
index 0ff3d5b..43ac8a7 100644 (file)
--- a/pp_hot.c
+++ b/pp_hot.c
@@ -3037,7 +3037,7 @@ PP(pp_iter)
         retsv = &PL_sv_no;
     }
     /* pp_enteriter should have pre-extended the stack */
-    assert(PL_stack_sp < PL_stack_max);
+    EXTEND_SKIP(PL_stack_sp, 1);
     *++PL_stack_sp =retsv;
 
     return PL_op->op_next;