blueloveTH 1 giorno fa
parent
commit
09b0116280
1 ha cambiato i file con 0 aggiunte e 10 eliminazioni
  1. 0 10
      src/interpreter/ceval.c

+ 0 - 10
src/interpreter/ceval.c

@@ -1017,12 +1017,6 @@ __NEXT_STEP:
         case OP_UNPACK_SEQUENCE: {
             py_TValue* p;
             int length;
-
-            if(SP() + byte.arg > self->stack.end) {
-                py_exception(tp_RecursionError, "value stack overflow");
-                goto __ERROR;
-            }
-
             switch(TOP()->type) {
                 case tp_tuple: {
                     length = py_tuple_len(TOP());
@@ -1088,10 +1082,6 @@ __NEXT_STEP:
             DISPATCH();
         }
         case OP_UNPACK_EX: {
-            if(SP() + byte.arg + 1 > self->stack.end) {
-                py_exception(tp_RecursionError, "value stack overflow");
-                goto __ERROR;
-            }
             py_TValue* p;
             int length = pk_arrayview(TOP(), &p);
             if(length == -1) {