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/Target/Sparc | |
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/Target/Sparc')
-rw-r--r-- | lib/Target/Sparc/SparcInstrInfo.cpp | 2 | ||||
-rw-r--r-- | lib/Target/Sparc/SparcInstrInfo.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/Sparc/SparcInstrInfo.cpp b/lib/Target/Sparc/SparcInstrInfo.cpp index 2476f4c..68605a7 100644 --- a/lib/Target/Sparc/SparcInstrInfo.cpp +++ b/lib/Target/Sparc/SparcInstrInfo.cpp @@ -102,7 +102,7 @@ unsigned SparcInstrInfo::isStoreToStackSlot(MachineInstr *MI, unsigned SparcInstrInfo::InsertBranch(MachineBasicBlock &MBB,MachineBasicBlock *TBB, MachineBasicBlock *FBB, - const std::vector<MachineOperand> &Cond)const{ + const SmallVectorImpl<MachineOperand> &Cond)const{ // Can only insert uncond branches so far. assert(Cond.empty() && !FBB && TBB && "Can only handle uncond branches!"); BuildMI(&MBB, get(SP::BA)).addMBB(TBB); diff --git a/lib/Target/Sparc/SparcInstrInfo.h b/lib/Target/Sparc/SparcInstrInfo.h index 309b268..d19d55f 100644 --- a/lib/Target/Sparc/SparcInstrInfo.h +++ b/lib/Target/Sparc/SparcInstrInfo.h @@ -66,7 +66,7 @@ public: virtual unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB, - const std::vector<MachineOperand> &Cond) const; + const SmallVectorImpl<MachineOperand> &Cond) const; virtual void copyRegToReg(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, |