Skip to content

Commit c6f115d

Browse files
committed
fixup
1 parent 82e0a17 commit c6f115d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Python/bytecodes.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5308,15 +5308,15 @@ dummy_func(
53085308
(void)null; // Silence compiler warnings about unused variables
53095309
DEAD(null);
53105310
PyStackRef_CLOSE(callable);
5311-
value = PyStackRef_FromPyObjectImmortal(ptr);
5311+
value = PyStackRef_FromPyObjectBorrow(ptr);
53125312
}
53135313

53145314
tier2 pure op(_POP_CALL_ONE_LOAD_CONST_INLINE_BORROW, (ptr/4, callable, null, pop -- value)) {
53155315
PyStackRef_CLOSE(pop);
53165316
(void)null; // Silence compiler warnings about unused variables
53175317
DEAD(null);
53185318
PyStackRef_CLOSE(callable);
5319-
value = PyStackRef_FromPyObjectImmortal(ptr);
5319+
value = PyStackRef_FromPyObjectBorrow(ptr);
53205320
}
53215321

53225322
tier2 pure op(_POP_CALL_TWO_LOAD_CONST_INLINE_BORROW, (ptr/4, callable, null, pop1, pop2 -- value)) {

Python/executor_cases.c.h

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

0 commit comments

Comments
 (0)