1. Taavi Burns
  2. pypy

Commits

Maciej Fijalkowski  committed 16cac49

backout wrong fix

  • Participants
  • Parent commits 80342e4
  • Branches speedup-list-comprehension

Comments (0)

Files changed (1)

File pypy/jit/metainterp/test/test_list.py

View file
  • Ignore whitespace
             return a * b
         res = self.meta_interp(f, [37])
         assert res == f(37)
-        # by unrolling there should be no actual getfields on a in the
-        # loop. if caches were invalidated, there will be 2.
-        # getfields are 2 reads of items and 2 of length
-        self.check_simple_loop(getfield_gc=4)
+        # There is the one actual field on a, plus several fields on the list
+        # itself
+        self.check_resops(getfield_gc=10)