Skip to content

Commit

Permalink
GH-111485: Use micro-ops to split specialization code from base action (
Browse files Browse the repository at this point in the history
  • Loading branch information
markshannon authored Nov 1, 2023
1 parent eaf67e3 commit b14e882
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 b14e882

Please sign in to comment.