projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Push constness through LoopInfo::isLoopHeader and clean it up a bit.
[oota-llvm.git]
/
include
/
llvm
/
CodeGen
/
MachineLoopInfo.h
diff --git
a/include/llvm/CodeGen/MachineLoopInfo.h
b/include/llvm/CodeGen/MachineLoopInfo.h
index f7bcf45d93c568d9c22fe80a6f017d98d77bf81b..438ef2e37255e81498d1c06ef2530cd31ece54b1 100644
(file)
--- a/
include/llvm/CodeGen/MachineLoopInfo.h
+++ b/
include/llvm/CodeGen/MachineLoopInfo.h
@@
-114,7
+114,7
@@
public:
}
// isLoopHeader - True if the block is a loop header node
- inline bool isLoopHeader(MachineBasicBlock *BB) const {
+ inline bool isLoopHeader(
const
MachineBasicBlock *BB) const {
return LI.isLoopHeader(BB);
}