Skip to content

Commit 290bdd0

Browse files
woops
1 parent 0f74390 commit 290bdd0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Python/optimizer_bytecodes.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1747,7 +1747,7 @@ dummy_func(void) {
17471747

17481748
op(_GUARD_CODE_VERSION, (version/2 -- )) {
17491749
PyCodeObject *co = get_current_code_object(ctx);
1750-
if (co->co_version != version) {
1750+
if (co->co_version == version) {
17511751
_Py_BloomFilter_Add(dependencies, co);
17521752
// TODO gh-144651:
17531753
// If we've previously guarded on this code version in a trace, we

Python/optimizer_cases.c.h

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)