summaryrefslogtreecommitdiff
path: root/pp_sort.c
diff options
context:
space:
mode:
Diffstat (limited to 'pp_sort.c')
-rw-r--r--pp_sort.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/pp_sort.c b/pp_sort.c
index 02c5dd8fce..9e0d64cb04 100644
--- a/pp_sort.c
+++ b/pp_sort.c
@@ -1675,10 +1675,8 @@ PP(pp_sort)
if (!is_xsub) {
PADLIST * const padlist = CvPADLIST(cv);
- if (++CvDEPTH(cv) >= 2) {
- PERL_STACK_OVERFLOW_CHECK();
+ if (++CvDEPTH(cv) >= 2)
pad_push(padlist, CvDEPTH(cv));
- }
PAD_SET_CUR_NOSAVE(padlist, CvDEPTH(cv));
if (hasargs) {