(self)
| 1370 | @cpython_only |
| 1371 | @requires_specialization |
| 1372 | def test_loop_quicken(self): |
| 1373 | # Loop can trigger a quicken where the loop is located |
| 1374 | self.code_quicken(loop_test) |
| 1375 | got = self.get_disassembly(loop_test, adaptive=True) |
| 1376 | jit = sys._jit.is_enabled() |
| 1377 | resume_str = "_JIT" if jit else "" |
| 1378 | jit_str = "JIT " if jit else "NO_JIT" |
| 1379 | expected = dis_loop_test_quickened_code.format(resume_str, jit_str) |
| 1380 | self.do_disassembly_compare(got, expected) |
| 1381 | |
| 1382 | @cpython_only |
| 1383 | @requires_specialization |
nothing calls this directly
no test coverage detected