summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/MachineModuleInfo.h
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2008-06-27 00:56:36 +0000
committerBill Wendling <isanbard@gmail.com>2008-06-27 00:56:36 +0000
commite6b6bae536a382ca76c738275b82c73b026cd6bf (patch)
tree8495183ce0657d213ddca02ef8a6f443ef529dbb /include/llvm/CodeGen/MachineModuleInfo.h
parent305635abeae1d20519b60856c89479e8b7b5d4dd (diff)
downloadllvm-e6b6bae536a382ca76c738275b82c73b026cd6bf.tar.gz
llvm-e6b6bae536a382ca76c738275b82c73b026cd6bf.tar.bz2
llvm-e6b6bae536a382ca76c738275b82c73b026cd6bf.tar.xz
- Remove a use of std::vector.
- Make sure that we're not recalculating the size of a vector that never changes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52803 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineModuleInfo.h')
-rw-r--r--include/llvm/CodeGen/MachineModuleInfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/MachineModuleInfo.h b/include/llvm/CodeGen/MachineModuleInfo.h
index 5b27da1f9a..748dfd68ce 100644
--- a/include/llvm/CodeGen/MachineModuleInfo.h
+++ b/include/llvm/CodeGen/MachineModuleInfo.h
@@ -591,7 +591,7 @@ public:
/// getFilterIDFor - Return the id of the filter encoded by TyIds. This is
/// function wide.
- int getFilterIDFor(std::vector<unsigned> &TyIds);
+ int getFilterIDFor(SmallVectorImpl<unsigned> &TyIds);
/// TidyLandingPads - Remap landing pad labels and remove any deleted landing
/// pads.