Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2,050 changes: 1,009 additions & 1,041 deletions Include/internal/pycore_uop_ids.h

Large diffs are not rendered by default.

153 changes: 0 additions & 153 deletions Include/internal/pycore_uop_metadata.h

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

2 changes: 1 addition & 1 deletion Lib/test/test_capi/test_opt.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ def testfunc(x):
self.assertIsNotNone(ex)
uops = get_opnames(ex)
self.assertIn("_JUMP_TO_TOP", uops)
self.assertIn("_LOAD_FAST_BORROW_0", uops)
self.assertIn("_LOAD_FAST_BORROW", uops)

def test_extended_arg(self):
"Check EXTENDED_ARG handling in superblock creation"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Manually emit _LOAD_FAST_BORROW and remove replicate(8). Patch by Donghee
Na.
2 changes: 1 addition & 1 deletion Python/bytecodes.c
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ dummy_func(
value = PyStackRef_DUP(GETLOCAL(oparg));
}

replicate(8) pure inst (LOAD_FAST_BORROW, (-- value)) {
pure inst(LOAD_FAST_BORROW, (-- value)) {
assert(!PyStackRef_IsNull(GETLOCAL(oparg)));
value = PyStackRef_Borrow(GETLOCAL(oparg));
}
Expand Down
Loading
Loading