Skip to content

Commit

Permalink
SPMI: Fix wrong SPMI replay result check (#93062)
Browse files Browse the repository at this point in the history
Fix a bug introduced in #92824 that would SPMI to not show replay
failures.
  • Loading branch information
jakobbotsch authored Oct 5, 2023
1 parent ade2459 commit 0b4ec5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coreclr/tools/superpmi/superpmi/superpmi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ int __cdecl main(int argc, char* argv[])
mc->cr->dumpToConsole(); // Dump the compile results if doing debug logging
}
}
else if (res.Result == ReplayResult::Success)
else if (res.Result == ReplayResult::Error)
{
errorCount++;
LogError("Method %d of size %d failed to load and compile correctly%s (%s).",
Expand Down

0 comments on commit 0b4ec5a

Please sign in to comment.