Store the vtable components in a SmallVector.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90571 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/CGVtable.cpp b/lib/CodeGen/CGVtable.cpp
index 9625811..6518f52 100644
--- a/lib/CodeGen/CGVtable.cpp
+++ b/lib/CodeGen/CGVtable.cpp
@@ -29,7 +29,8 @@
 private:
   
   // Vtable - The components of the vtable being built.
-  std::vector<llvm::Constant *> Vtable;
+  typedef llvm::SmallVector<llvm::Constant *, 64> VtableVectorTy;
+  VtableVectorTy Vtable;
   
   llvm::Type *Ptr8Ty;
   /// Class - The most derived class that this vtable is being built for.
@@ -185,7 +186,7 @@
   }
 
   // getVtable - Returns a reference to the vtable components.
-  const std::vector<llvm::Constant *> &getVtable() const {
+  const VtableVectorTy &getVtable() const {
     return Vtable;
   }