mirror of
https://github.com/python/cpython.git
synced 2025-10-26 03:04:41 +00:00
gh-136125: Use _PyObject_GetMethodStackRef for LOAD_ATTR (GH-136127)
This commit is contained in:
parent
17cf0a343b
commit
e0d6500b2d
6 changed files with 29 additions and 32 deletions
|
|
@ -590,9 +590,9 @@ dummy_func(void) {
|
|||
}
|
||||
}
|
||||
|
||||
op(_LOAD_ATTR, (owner -- attr, self_or_null[oparg&1])) {
|
||||
op(_LOAD_ATTR, (owner -- attr[1], self_or_null[oparg&1])) {
|
||||
(void)owner;
|
||||
attr = sym_new_not_null(ctx);
|
||||
*attr = sym_new_not_null(ctx);
|
||||
if (oparg & 1) {
|
||||
self_or_null[0] = sym_new_unknown(ctx);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue