diff options
author | Bill Wendling <isanbard@gmail.com> | 2008-06-27 00:56:36 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2008-06-27 00:56:36 +0000 |
commit | e6b6bae536a382ca76c738275b82c73b026cd6bf (patch) | |
tree | 8495183ce0657d213ddca02ef8a6f443ef529dbb /include/llvm/CodeGen/MachineModuleInfo.h | |
parent | 305635abeae1d20519b60856c89479e8b7b5d4dd (diff) |
- 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.h | 2 |
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. |