1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

Fix mixed line terminators. NFC.

llvm-svn: 308052
This commit is contained in:
Dimitry Andric 2017-07-14 21:14:58 +00:00
parent 9de6b5b6de
commit 42e4363449

View File

@ -142,9 +142,9 @@ bool XRayInstrumentation::runOnMachineFunction(MachineFunction &MF) {
return false; // Invalid value for threshold.
// Count the number of MachineInstr`s in MachineFunction
int64_t MICount = 0;
for (const auto& MBB : MF)
MICount += MBB.size();
int64_t MICount = 0;
for (const auto& MBB : MF)
MICount += MBB.size();
// Check if we have a loop.
// FIXME: Maybe make this smarter, and see whether the loops are dependent