Skip to content

Commit 92991ea

Browse files
DinoVfacebook-github-bot
authored andcommitted
Fix another issue in loast fast borrow
Summary: Fixing another issue in the borrowed load analysis: python/cpython#138678 Reviewed By: mpage Differential Revision: D81950973 fbshipit-source-id: f6663befbcc36b159cbb03a20354d4452e1e47f8
1 parent 691a6fd commit 92991ea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Python/flowgraph.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2879,7 +2879,7 @@ optimize_load_fast(cfg_builder *g)
28792879
int num_pushed = _PyOpcode_num_pushed(opcode, oparg);
28802880
int net_pushed = num_pushed - num_popped;
28812881
assert(net_pushed >= 0);
2882-
for (int i = 0; i < net_pushed; i++) {
2882+
for (int j = 0; j < net_pushed; j++) {
28832883
PUSH_REF(i, NOT_LOCAL);
28842884
}
28852885
break;

0 commit comments

Comments
 (0)