Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 9401fa6

Browse files
franksinankayaCarolEidt
authored andcommitted
Correct iterator (#24160)
1 parent fc6dd70 commit 9401fa6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/jit/codegenlinear.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1206,9 +1206,9 @@ void CodeGen::genNumberOperandUse(GenTree* const operand, int& useNum) const
12061206
}
12071207
else
12081208
{
1209-
for (GenTree* operand : operand->Operands())
1209+
for (GenTree* op : operand->Operands())
12101210
{
1211-
genNumberOperandUse(operand, useNum);
1211+
genNumberOperandUse(op, useNum);
12121212
}
12131213
}
12141214
}

0 commit comments

Comments
 (0)