- 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
This commit is contained in:
Bill Wendling
2008-06-27 00:56:36 +00:00
parent 305635abea
commit e6b6bae536
3 changed files with 49 additions and 35 deletions

View File

@ -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.