Maciej Fijalkowski committed b2e4012

make sure we don't pass a negative to new_array in the jit - in the process of fixing the jit

  • Participants
  • Parent commits b804a06
  • Branches virtual-arguments

Comments (0)

Files changed (1)

File pypy/interpreter/

             for i in range(take):
                 scope_w[i + input_argcount] = args_w[i]
             input_argcount += take
+            input_argcount = max(input_argcount, 0)
         # collect extra positional arguments into the *vararg
         if signature.has_vararg():