mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
GH-128682: Convert explicit loops closing arrays into DECREF_INPUTS
. (GH-128822)
* Mark Py_DECREF and Py_XDECREF as escaping * Remove explicit loops for clearing array inputs
This commit is contained in:
parent
bbd3300ae8
commit
f49a1df6f3
6 changed files with 305 additions and 265 deletions
|
@ -121,6 +121,7 @@ class Emitter:
|
|||
"SAVE_STACK": self.save_stack,
|
||||
"RELOAD_STACK": self.reload_stack,
|
||||
"PyStackRef_CLOSE": self.stackref_close,
|
||||
"PyStackRef_XCLOSE": self.stackref_close,
|
||||
"PyStackRef_CLOSE_SPECIALIZED": self.stackref_close_specialized,
|
||||
"PyStackRef_AsPyObjectSteal": self.stackref_steal,
|
||||
"DISPATCH": self.dispatch,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue