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 | 44eb65cf58e3ab9b5621ce72256d1621a18aeed7 (patch) | |
tree | 9fe25d09a3e9dc78ce841877df11118ad71cfbce /lib/CodeGen/SimpleRegisterCoalescing.cpp | |
parent | c0573b13a119e1e504225542bddd85db7d4bd29f (diff) |
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 72db79dee4..897eb71030 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); } |