Skip to content

Commit

Permalink
Fix compiler warning in optimizer_cases.c.h
Browse files Browse the repository at this point in the history
Maybe this will stop tickling the msvc compiler bug, too?
  • Loading branch information
mpage committed Oct 8, 2024
1 parent 7a682cc commit 93f121b
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 6 deletions.
10 changes: 10 additions & 0 deletions Python/optimizer_bytecodes.c
Original file line number Diff line number Diff line change
Expand Up @@ -836,6 +836,16 @@ dummy_func(void) {
ctx->done = true;
}

op(_GUARD_GLOBALS_VERSION_PUSH_KEYS, (version/1 -- globals_keys)) {
globals_keys = sym_new_unknown(ctx);
(void)version;
}

op(_GUARD_BUILTINS_VERSION_PUSH_KEYS, (version/1 -- builtins_keys)) {
builtins_keys = sym_new_unknown(ctx);
(void)version;
}

// END BYTECODES //

}
16 changes: 10 additions & 6 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 93f121b

Please sign in to comment.