aboutsummaryrefslogtreecommitdiff
path: root/contrib/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-06-17 12:48:31 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-06-17 12:48:31 +0000
commitf32b3b5783908ddbf1f7d1690106d22328a74758 (patch)
tree6919edb69138b9a04f70a9fe0a3b7df0e095ca67 /contrib/llvm/lib/CodeGen
parent4198293b2568c3fa287e7bde71162e9d442f4305 (diff)
Notes
Diffstat (limited to 'contrib/llvm/lib/CodeGen')
-rw-r--r--contrib/llvm/lib/CodeGen/XRayInstrumentation.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/llvm/lib/CodeGen/XRayInstrumentation.cpp b/contrib/llvm/lib/CodeGen/XRayInstrumentation.cpp
index 0b4c6e551667..1a8d5a4f45da 100644
--- a/contrib/llvm/lib/CodeGen/XRayInstrumentation.cpp
+++ b/contrib/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