1. squeaky
  2. pypy

Commits

squeaky  committed 10e1e30

fix test_range_iter_simple

  • Participants
  • Parent commits 3fc0ff9
  • Branches default

Comments (0)

Files changed (1)

File pypy/module/pypyjit/test_pypy_c/test_misc.py

View file
  • Ignore whitespace
         loop, = log.loops_by_filename(self.filepath)
         assert loop.match("""
             guard_not_invalidated?
-            i16 = int_ge(i11, i12)
-            guard_false(i16, descr=...)
+            i16 = int_lt(i11, i12)
+            guard_true(i16, descr=...)
             i20 = int_add(i11, 1)
             i21 = force_token()
             setfield_gc(p4, i20, descr=<.* .*W_AbstractSeqIterObject.inst_index .*>)
             guard_not_invalidated?
-            i25 = int_ge(i11, i9)
-            guard_false(i25, descr=...)
+            i25 = int_lt(i11, i9)
+            guard_true(i25, descr=...)
             i27 = int_add_ovf(i7, i11)
             guard_no_overflow(descr=...)
             --TICK--