Skip to content

Commit 540c659

Browse files
committed
Remove a few more conditional stack effects to fix LOAD_GLOBAL changes
1 parent 04edf5c commit 540c659

File tree

11 files changed

+122
-222
lines changed

11 files changed

+122
-222
lines changed

Include/internal/pycore_opcode_metadata.h

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Include/internal/pycore_uop_ids.h

Lines changed: 58 additions & 60 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Include/internal/pycore_uop_metadata.h

Lines changed: 7 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Lib/test/test_capi/test_opt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,7 @@ def testfunc(n):
711711
assert ex is not None
712712
uops = get_opnames(ex)
713713
assert "_LOAD_GLOBAL_BUILTINS" not in uops
714-
assert "_LOAD_CONST_INLINE_BORROW_WITH_NULL" in uops
714+
assert "_LOAD_CONST_INLINE_BORROW" in uops
715715
"""))
716716
self.assertEqual(result[0].rc, 0, result)
717717

0 commit comments

Comments
 (0)