mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Allow const bb's to be checked for containment in a loop
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2754 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
84369b323e
commit
a51b767df4
@ -34,7 +34,7 @@ public:
|
||||
inline BasicBlock *getHeader() const { return Blocks.front(); }
|
||||
|
||||
// contains - Return true of the specified basic block is in this loop
|
||||
bool contains(BasicBlock *BB) const;
|
||||
bool contains(const BasicBlock *BB) const;
|
||||
|
||||
// getSubLoops - Return the loops contained entirely within this loop
|
||||
inline const std::vector<Loop*> &getSubLoops() const { return SubLoops; }
|
||||
|
Loading…
Reference in New Issue
Block a user