mirror of
https://github.com/python/cpython.git
synced 2025-10-28 12:15:13 +00:00
GH-138378: Move globals-to-consts pass into main optimizer pass (GH-138379)
This commit is contained in:
parent
d22b25081b
commit
3b83257366
12 changed files with 486 additions and 490 deletions
|
|
@ -893,7 +893,7 @@ translate_bytecode_to_trace(
|
|||
_Py_BloomFilter_Add(dependencies, new_code);
|
||||
/* Set the operand to the callee's function or code object,
|
||||
* to assist optimization passes.
|
||||
* We prefer setting it to the function (for remove_globals())
|
||||
* We prefer setting it to the function
|
||||
* but if that's not available but the code is available,
|
||||
* use the code, setting the low bit so the optimizer knows.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue