blueloveTH преди 1 година
родител
ревизия
8751e82ee0
променени са 1 файла, в които са добавени 0 реда и са изтрити 5 реда
  1. 0 5
      src/interpreter/ceval.c

+ 0 - 5
src/interpreter/ceval.c

@@ -90,11 +90,6 @@ FrameResult VM__run_top_frame(VM* self) {
             py_exception(tp_RecursionError, "maximum recursion depth exceeded");
             py_exception(tp_RecursionError, "maximum recursion depth exceeded");
             goto __ERROR;
             goto __ERROR;
         }
         }
-        if(self->stack.sp >= self->stack.end) {
-            c11__abort(
-                "Stack overflow! Please increase PK_VM_STACK_SIZE or reduce the max recursion limit.");
-        }
-
         codes = frame->co->codes.data;
         codes = frame->co->codes.data;
         frame->ip++;
         frame->ip++;