Skip to content

Commit 0f74390

Browse files
small fix
1 parent 39c8d51 commit 0f74390

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Python/optimizer_bytecodes.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1748,7 +1748,8 @@ dummy_func(void) {
17481748
op(_GUARD_CODE_VERSION, (version/2 -- )) {
17491749
PyCodeObject *co = get_current_code_object(ctx);
17501750
if (co->co_version != version) {
1751-
// TODO:
1751+
_Py_BloomFilter_Add(dependencies, co);
1752+
// TODO gh-144651:
17521753
// If we've previously guarded on this code version in a trace, we
17531754
// can avoid guarding it again.
17541755
}

Python/optimizer_cases.c.h

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

0 commit comments

Comments
 (0)