diff options
author | Dimitry Andric <dimitry@andric.com> | 2017-07-14 21:14:58 +0000 |
---|---|---|
committer | Dimitry Andric <dimitry@andric.com> | 2017-07-14 21:14:58 +0000 |
commit | e4b97459f13fcbbc5be02f134da0a6282558716e (patch) | |
tree | 37c48d9306227bf938361a664a2d73bef687928c /llvm/lib/CodeGen/XRayInstrumentation.cpp | |
parent | f7d5daa0c0b47351a66f7d12f35247636934e7aa (diff) | |
download | bcm5719-llvm-e4b97459f13fcbbc5be02f134da0a6282558716e.tar.gz bcm5719-llvm-e4b97459f13fcbbc5be02f134da0a6282558716e.zip |
Fix mixed line terminators. NFC.
llvm-svn: 308052
Diffstat (limited to 'llvm/lib/CodeGen/XRayInstrumentation.cpp')
-rw-r--r-- | llvm/lib/CodeGen/XRayInstrumentation.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/XRayInstrumentation.cpp b/llvm/lib/CodeGen/XRayInstrumentation.cpp index 1a8d5a4f45d..0b4c6e55166 100644 --- a/llvm/lib/CodeGen/XRayInstrumentation.cpp +++ b/llvm/lib/CodeGen/XRayInstrumentation.cpp @@ -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 |