diff options
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocLinearScan.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/RegAllocLinearScan.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/RegAllocLinearScan.cpp b/llvm/lib/CodeGen/RegAllocLinearScan.cpp index f12424c6b33..550d2a4e0c1 100644 --- a/llvm/lib/CodeGen/RegAllocLinearScan.cpp +++ b/llvm/lib/CodeGen/RegAllocLinearScan.cpp @@ -37,9 +37,10 @@ using namespace llvm; namespace { - Statistic<double> efficiency + static Statistic<double> efficiency ("regalloc", "Ratio of intervals processed over total intervals"); - Statistic<> NumBacktracks("regalloc", "Number of times we had to backtrack"); + static Statistic<> NumBacktracks + ("regalloc", "Number of times we had to backtrack"); static unsigned numIterations = 0; static unsigned numIntervals = 0; |

