diff options
author | Craig Topper <craig.topper@gmail.com> | 2013-07-11 16:22:38 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2013-07-11 16:22:38 +0000 |
commit | 9e639e8fd95488cb4c8ef2f7f3a41919acb29ac4 (patch) | |
tree | f4aa87a04af2f69d097f9c9ed386fa833cabac39 /include/llvm/CodeGen/LiveVariables.h | |
parent | 73480481f4ebe05e0b0f7d5eabd8f8f34b6823f1 (diff) | |
download | external_llvm-9e639e8fd95488cb4c8ef2f7f3a41919acb29ac4.zip external_llvm-9e639e8fd95488cb4c8ef2f7f3a41919acb29ac4.tar.gz external_llvm-9e639e8fd95488cb4c8ef2f7f3a41919acb29ac4.tar.bz2 |
Use SmallVectorImpl& instead of SmallVector to avoid repeating small vector size.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186098 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/LiveVariables.h')
-rw-r--r-- | include/llvm/CodeGen/LiveVariables.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/LiveVariables.h b/include/llvm/CodeGen/LiveVariables.h index 6628fd2..dc735f7 100644 --- a/include/llvm/CodeGen/LiveVariables.h +++ b/include/llvm/CodeGen/LiveVariables.h @@ -157,8 +157,8 @@ private: // Intermediate data structures void HandlePhysRegUse(unsigned Reg, MachineInstr *MI); void HandlePhysRegDef(unsigned Reg, MachineInstr *MI, - SmallVector<unsigned, 4> &Defs); - void UpdatePhysRegDefs(MachineInstr *MI, SmallVector<unsigned, 4> &Defs); + SmallVectorImpl<unsigned> &Defs); + void UpdatePhysRegDefs(MachineInstr *MI, SmallVectorImpl<unsigned> &Defs); /// FindLastRefOrPartRef - Return the last reference or partial reference of /// the specified register. |