Skip to content

Commit

Permalink
pythonGH-111485: Use micro-ops to split specialization code from base…
Browse files Browse the repository at this point in the history
… action (pythonGH-111561)
  • Loading branch information
markshannon authored and Glyphack committed Jan 27, 2024
1 parent a69a5a2 commit de3a208
Show file tree
Hide file tree
Showing 9 changed files with 858 additions and 577 deletions.
331 changes: 253 additions & 78 deletions Include/internal/pycore_opcode_metadata.h

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Lib/test/test_capi/test_misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -2595,7 +2595,7 @@ def testfunc(x):
ex = get_first_executor(testfunc)
self.assertIsNotNone(ex)
uops = {opname for opname, _, _ in ex}
self.assertIn("UNPACK_SEQUENCE", uops)
self.assertIn("_UNPACK_SEQUENCE", uops)

def test_pop_jump_if_false(self):
def testfunc(n):
Expand Down
22 changes: 13 additions & 9 deletions Python/abstract_interp_cases.c.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit de3a208

Please sign in to comment.