We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1eb9226 commit 7291c49Copy full SHA for 7291c49
Python/flowgraph.c
@@ -2535,10 +2535,10 @@ optimize_load_fast(cfg_builder *g)
2535
int status;
2536
ref_stack refs = {0};
2537
bool *has_killed_refs = NULL;
2538
- basicblock *entryblock = g->g_entryblock;
2539
- for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
+ for (basicblock *b = g->g_block_list; b != NULL; b = b->b_list) {
2540
b->b_startdepth = -1;
2541
}
+ basicblock *entryblock = g->g_entryblock;
2542
basicblock **blocks = make_cfg_traversal_stack(entryblock);
2543
if (blocks == NULL) {
2544
status = ERROR;
0 commit comments