blueloveTH 11 月之前
父節點
當前提交
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");
             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;
         frame->ip++;