diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-08-08 18:59:03 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-08-08 18:59:03 +0000 |
commit | c43782cf7163805fb6d727382b5f807ea035b2b0 (patch) | |
tree | 6d66db6a874af9d7c48d4357655665c547c1ffd0 /include | |
parent | 55e354ac0e294bde258420f80a2cc11ea19db482 (diff) | |
download | external_llvm-c43782cf7163805fb6d727382b5f807ea035b2b0.zip external_llvm-c43782cf7163805fb6d727382b5f807ea035b2b0.tar.gz external_llvm-c43782cf7163805fb6d727382b5f807ea035b2b0.tar.bz2 |
Some ProfileInfo cleanups.
- Part of optimal static profiling patch sequence by Andreas Neustifter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78485 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Analysis/LoopInfo.h | 2 | ||||
-rw-r--r-- | include/llvm/Analysis/ProfileInfo.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Analysis/LoopInfo.h b/include/llvm/Analysis/LoopInfo.h index fd12e66..fb20406 100644 --- a/include/llvm/Analysis/LoopInfo.h +++ b/include/llvm/Analysis/LoopInfo.h @@ -229,7 +229,7 @@ public: I != E; ++I) if (!std::binary_search(LoopBBs.begin(), LoopBBs.end(), *I)) // Not in current loop? It must be an exit block. - ExitEdges.push_back(std::make_pair(*BI,*I)); + ExitEdges.push_back(std::make_pair(*BI, *I)); } /// getUniqueExitBlocks - Return all unique successor blocks of this loop. diff --git a/include/llvm/Analysis/ProfileInfo.h b/include/llvm/Analysis/ProfileInfo.h index 3b76ef9..9b69251 100644 --- a/include/llvm/Analysis/ProfileInfo.h +++ b/include/llvm/Analysis/ProfileInfo.h @@ -67,7 +67,7 @@ namespace llvm { // getEdge() - Creates an Edge from two BasicBlocks. static Edge getEdge(const BasicBlock* Src, const BasicBlock* Dest) { - return std::make_pair(Src,Dest); + return std::make_pair(Src, Dest); } //===------------------------------------------------------------------===// |