mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
GH-118093: Add tier two support for LOAD_ATTR_PROPERTY (GH-122283)
This commit is contained in:
parent
5e686ff57d
commit
5f6001130f
9 changed files with 168 additions and 99 deletions
7
Python/optimizer_cases.c.h
generated
7
Python/optimizer_cases.c.h
generated
|
@ -1160,7 +1160,12 @@
|
|||
break;
|
||||
}
|
||||
|
||||
/* _LOAD_ATTR_PROPERTY is not a viable micro-op for tier 2 */
|
||||
case _LOAD_ATTR_PROPERTY_FRAME: {
|
||||
_PyInterpreterFrame *new_frame;
|
||||
new_frame = sym_new_not_null(ctx);
|
||||
stack_pointer[-1] = (_Py_UopsSymbol *)new_frame;
|
||||
break;
|
||||
}
|
||||
|
||||
/* _LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN is not a viable micro-op for tier 2 */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue