mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
gh-125323: Remove some unsafe Py_DECREFs in bytecodes.c, replacing them with PyStackRef_CLOSEs (GH-125324)
This commit is contained in:
parent
b52c7306ea
commit
4b358ee647
6 changed files with 65 additions and 60 deletions
|
@ -116,6 +116,7 @@ class Emitter:
|
|||
"SAVE_STACK": self.save_stack,
|
||||
"RELOAD_STACK": self.reload_stack,
|
||||
"PyStackRef_CLOSE": self.stackref_close,
|
||||
"PyStackRef_CLOSE_SPECIALIZED": self.stackref_close,
|
||||
"PyStackRef_AsPyObjectSteal": self.stackref_steal,
|
||||
"DISPATCH": self.dispatch
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue