1. Keisuke Takahashi
  2. pypy

Commits

Comments (0)

Files changed (1)

File pypy/module/pypyjit/test_pypy_c/test_model.py Modified

View file
  • Ignore whitespace
  • Hide word diff
         log = self.run(f)
         loop, = log.loops_by_id('ntohs')
         assert loop.match_by_id('ntohs', """
+            guard_not_invalidated(descr=...)
             p12 = call(ConstClass(ntohs), 1, descr=...)
             guard_no_exception(descr=...)
         """)
         #
         assert not loop.match_by_id('ntohs', """
+            guard_not_invalidated(descr=...)
             p12 = call(ConstClass(foobar), 1, descr=...)
             guard_no_exception(descr=...)
         """)