diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2017-06-17 12:48:31 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2017-06-17 12:48:31 +0000 |
commit | f32b3b5783908ddbf1f7d1690106d22328a74758 (patch) | |
tree | 6919edb69138b9a04f70a9fe0a3b7df0e095ca67 /contrib/llvm/lib/CodeGen | |
parent | 4198293b2568c3fa287e7bde71162e9d442f4305 (diff) |
Notes
Diffstat (limited to 'contrib/llvm/lib/CodeGen')
-rw-r--r-- | contrib/llvm/lib/CodeGen/XRayInstrumentation.cpp | 6 |
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 |