aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/LiveIntervalAnalysis.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-10-17 06:53:44 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-10-17 06:53:44 +0000
commita5bfc97da713ec9e185226d44e6adb4d3087b304 (patch)
treea29835dc9a27d53c02f2fd6dc4d5ef853ec3ef7b /lib/CodeGen/LiveIntervalAnalysis.cpp
parent7ef1a4bf0401d54ce88d10bcb4d1a2e98663a843 (diff)
Apply Chris' suggestions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43069 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LiveIntervalAnalysis.cpp')
-rw-r--r--lib/CodeGen/LiveIntervalAnalysis.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp
index 3aec772f1a..ca6c04d8f7 100644
--- a/lib/CodeGen/LiveIntervalAnalysis.cpp
+++ b/lib/CodeGen/LiveIntervalAnalysis.cpp
@@ -817,7 +817,7 @@ void LiveIntervals::computeIntervals() {
}
bool LiveIntervals::findLiveInMBBs(const LiveRange &LR,
- SmallVector<MachineBasicBlock*, 4> &MBBs) const {
+ SmallVectorImpl<MachineBasicBlock*> &MBBs) const {
std::vector<IdxMBBPair>::const_iterator I =
std::lower_bound(Idx2MBBMap.begin(), Idx2MBBMap.end(), LR.start);