Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

GH-115506: Improve handling of constants in tier two #124809

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 11 commits into from
Closed
Prev Previous commit
Next Next commit
Don't resurrect dead caches
  • Loading branch information
brandtbucher committed Sep 30, 2024
commit adfacc1cb380cb722a0e50cd447d2d3ba651da30
8 changes: 4 additions & 4 deletions 8 Python/optimizer_bytecodes.c
Original file line number Diff line number Diff line change
Expand Up @@ -611,27 +611,27 @@ dummy_func(void) {
}

op(_LOAD_ATTR_CLASS, (descr/4, owner -- attr, null if (oparg & 1))) {
attr = sym_new_const(ctx, descr);
attr = sym_new_not_null(ctx);
null = sym_new_null(ctx);
(void)descr;
(void)owner;
}

op(_LOAD_ATTR_METHOD_WITH_VALUES, (descr/4, owner -- attr, self if (1))) {
(void)descr;
attr = sym_new_const(ctx, descr);
attr = sym_new_not_null(ctx);
self = owner;
}

op(_LOAD_ATTR_METHOD_NO_DICT, (descr/4, owner -- attr, self if (1))) {
(void)descr;
attr = sym_new_const(ctx, descr);
attr = sym_new_not_null(ctx);
self = owner;
}

op(_LOAD_ATTR_METHOD_LAZY_DICT, (descr/4, owner -- attr, self if (1))) {
(void)descr;
attr = sym_new_const(ctx, descr);
attr = sym_new_not_null(ctx);
self = owner;
}

Expand Down
8 changes: 4 additions & 4 deletions 8 Python/optimizer_cases.c.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Morty Proxy This is a proxified and sanitized view of the page, visit original site.