Skip to content

Commit

Permalink
Fix increment in decreasing loop in non-shipping code (#110219)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobbotsch authored Dec 3, 2024
1 parent c5213de commit efd5a63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coreclr/tools/dotnet-pgo/SPGO/SampleCorrelator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ public void AttributeSampleToLbrRuns(Span<LbrEntry64> lbr)

bool skip = false;

for (int j = callStack.Count - 1; j >= 0; j++)
for (int j = callStack.Count - 1; j >= 0; j--)
{
(BasicBlock callFromBB, int callFromILOffs) = callStack[j];
if (callFromBB == bb && mapping.ILOffset >= callFromILOffs)
Expand Down

0 comments on commit efd5a63

Please sign in to comment.