aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Analysis
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2007-08-21 16:39:43 +0000
committerDevang Patel <dpatel@apple.com>2007-08-21 16:39:43 +0000
commit59a64dcd490b4f12260aeefa74033db8af60423d (patch)
tree4d93c1c0b34ad877af7e4ed552c601af81320c54 /include/llvm/Analysis
parent753b05593e30388c4a84604ad15def185bb9703a (diff)
downloadexternal_llvm-59a64dcd490b4f12260aeefa74033db8af60423d.zip
external_llvm-59a64dcd490b4f12260aeefa74033db8af60423d.tar.gz
external_llvm-59a64dcd490b4f12260aeefa74033db8af60423d.tar.bz2
No need to hardcode SmallVector size.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41228 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis')
-rw-r--r--include/llvm/Analysis/LoopInfo.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/Analysis/LoopInfo.h b/include/llvm/Analysis/LoopInfo.h
index 7dcfb60..acb5fd6 100644
--- a/include/llvm/Analysis/LoopInfo.h
+++ b/include/llvm/Analysis/LoopInfo.h
@@ -112,18 +112,18 @@ public:
/// outside of the loop. These are the blocks _inside of the current loop_
/// which branch out. The returned list is always unique.
///
- void getExitingBlocks(SmallVector<BasicBlock *, 8> &Blocks) const;
+ void getExitingBlocks(SmallVectorImpl<BasicBlock *> &Blocks) const;
/// getExitBlocks - Return all of the successor blocks of this loop. These
/// are the blocks _outside of the current loop_ which are branched to.
///
- void getExitBlocks(SmallVector<BasicBlock*, 8> &Blocks) const;
+ void getExitBlocks(SmallVectorImpl<BasicBlock* > &Blocks) const;
/// getUniqueExitBlocks - Return all unique successor blocks of this loop.
/// These are the blocks _outside of the current loop_ which are branched to.
/// This assumes that loop is in canonical form.
///
- void getUniqueExitBlocks(SmallVector<BasicBlock*, 8> &ExitBlocks) const;
+ void getUniqueExitBlocks(SmallVectorImpl<BasicBlock*> &ExitBlocks) const;
/// getLoopPreheader - If there is a preheader for this loop, return it. A
/// loop has a preheader if there is only one edge to the header of the loop