mirror of
https://github.com/python/cpython.git
synced 2025-09-27 10:50:04 +00:00
gh-115999: Specialize LOAD_ATTR
for instance and class receivers in free-threaded builds (#128164)
Finish specialization for LOAD_ATTR in the free-threaded build by adding support for class and instance receivers.
This commit is contained in:
parent
1c13c56a34
commit
b5ee0258bf
18 changed files with 619 additions and 271 deletions
|
@ -512,10 +512,6 @@ class Storage:
|
|||
self._push_defined_outputs()
|
||||
self.stack.flush(out, cast_type, extract_bits)
|
||||
|
||||
def pop_dead_inputs(self, out: CWriter, cast_type: str = "uintptr_t", extract_bits: bool = True) -> None:
|
||||
self.clear_dead_inputs()
|
||||
self.stack.flush(out, cast_type, extract_bits)
|
||||
|
||||
def save(self, out: CWriter) -> None:
|
||||
assert self.spilled >= 0
|
||||
if self.spilled == 0:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue