Commits

Maciej Fijalkowski committed f952954

I believe we don't support void reds, at least it's fine not to

  • Participants
  • Parent commits cc989d6
  • Branches autoreds

Comments (0)

Files changed (1)

pypy/jit/metainterp/test/test_warmspot.py

                            'int_sub': 2})
 
     def test_void_red_variable(self):
-        mydriver = JitDriver(greens=[], reds=['a', 'm'])
+        mydriver = JitDriver(greens=[], reds=['m'])
         def f1(m):
             a = None
             while m > 0:
-                mydriver.jit_merge_point(a=a, m=m)
+                mydriver.jit_merge_point(m=m)
                 m = m - 1
                 if m == 10:
                     pass   # other case