Skip to content

Commit

Permalink
Don't resurrect dead caches
Browse files Browse the repository at this point in the history
  • Loading branch information
brandtbucher committed Aug 28, 2024
1 parent 9471889 commit 06fffd7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions 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 Python/optimizer_cases.c.h

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

0 comments on commit 06fffd7

Please sign in to comment.