summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSinan Kaya <41809318+franksinankaya@users.noreply.github.com>2019-04-22 13:09:21 -0400
committerCarol Eidt <carol.eidt@microsoft.com>2019-04-22 10:09:21 -0700
commit9401fa655260453168026985d3d40d3e567ef94c (patch)
treeb231f68a9959edf7084f44ad09ffed8fc4d204a8
parentfc6dd7009fb953d43d0912ad0755d5566868047a (diff)
downloadcoreclr-9401fa655260453168026985d3d40d3e567ef94c.tar.gz
coreclr-9401fa655260453168026985d3d40d3e567ef94c.tar.bz2
coreclr-9401fa655260453168026985d3d40d3e567ef94c.zip
Correct iterator (#24160)
-rw-r--r--src/jit/codegenlinear.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jit/codegenlinear.cpp b/src/jit/codegenlinear.cpp
index c2e1c74647..e0ecce9f2a 100644
--- a/src/jit/codegenlinear.cpp
+++ b/src/jit/codegenlinear.cpp
@@ -1206,9 +1206,9 @@ void CodeGen::genNumberOperandUse(GenTree* const operand, int& useNum) const
}
else
{
- for (GenTree* operand : operand->Operands())
+ for (GenTree* op : operand->Operands())
{
- genNumberOperandUse(operand, useNum);
+ genNumberOperandUse(op, useNum);
}
}
}