Skip to content

Commit 620dde2

Browse files
committed
Make close in LOAD_ATTR_INSTANCE_VALUE explicit
1 parent 7869107 commit 620dde2

File tree

5 files changed

+9
-5
lines changed

5 files changed

+9
-5
lines changed

Include/internal/pycore_opcode_metadata.h

Lines changed: 1 addition & 1 deletion
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: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Python/bytecodes.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2234,7 +2234,7 @@ dummy_func(
22342234
attr = PyStackRef_FromPyObjectNew(attr_o);
22352235
#endif
22362236
STAT_INC(LOAD_ATTR, hit);
2237-
DECREF_INPUTS();
2237+
PyStackRef_CLOSE(owner);
22382238
}
22392239

22402240
macro(LOAD_ATTR_INSTANCE_VALUE) =

Python/executor_cases.c.h

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

Python/generated_cases.c.h

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

0 commit comments

Comments
 (0)