diff options
author | Owen Anderson <resistor@mac.com> | 2008-08-14 22:49:33 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2008-08-14 22:49:33 +0000 |
commit | d131b5b3c78084f3b452b97a678c16e815f0a0d8 (patch) | |
tree | 9fe25d09a3e9dc78ce841877df11118ad71cfbce /lib/CodeGen/SimpleRegisterCoalescing.cpp | |
parent | fd7369adefa0ce451da4cea159432b3e601bcbbe (diff) | |
download | external_llvm-d131b5b3c78084f3b452b97a678c16e815f0a0d8.zip external_llvm-d131b5b3c78084f3b452b97a678c16e815f0a0d8.tar.gz external_llvm-d131b5b3c78084f3b452b97a678c16e815f0a0d8.tar.bz2 |
Convert uses of std::vector in TargetInstrInfo to SmallVector. This change had to be propoagated down into all the targets and up into all clients of this API.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54802 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SimpleRegisterCoalescing.cpp')
-rw-r--r-- | lib/CodeGen/SimpleRegisterCoalescing.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SimpleRegisterCoalescing.cpp b/lib/CodeGen/SimpleRegisterCoalescing.cpp index 72db79d..897eb71 100644 --- a/lib/CodeGen/SimpleRegisterCoalescing.cpp +++ b/lib/CodeGen/SimpleRegisterCoalescing.cpp @@ -631,7 +631,7 @@ static bool isSameOrFallThroughBB(MachineBasicBlock *MBB, if (MBB == SuccMBB) return true; MachineBasicBlock *TBB = 0, *FBB = 0; - std::vector<MachineOperand> Cond; + SmallVector<MachineOperand, 4> Cond; return !tii_->AnalyzeBranch(*MBB, TBB, FBB, Cond) && !TBB && !FBB && MBB->isSuccessor(SuccMBB); } |