Use SmallVector for the requirements on an InstAlias.
authorJim Grosbach <grosbach@apple.com>
Wed, 18 Apr 2012 19:02:43 +0000 (19:02 +0000)
committerJim Grosbach <grosbach@apple.com>
Wed, 18 Apr 2012 19:02:43 +0000 (19:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155034 91177308-0d34-0410-b5e6-96231b3b80d8

utils/TableGen/AsmWriterEmitter.cpp

index 0d6d0c805e4b40bd54532b3060f8565f5450be26..d079b45e8d595cfefb82520f009e67158daffc59 100644 (file)
@@ -590,7 +590,7 @@ class IAPrinter {
   std::map<StringRef, unsigned> OpMap;
   std::string Result;
   std::string AsmString;
-  std::vector<Record*> ReqFeatures;
+  SmallVector<Record*, 4> ReqFeatures;
 public:
   IAPrinter(std::string R, std::string AS)
     : Result(R), AsmString(AS) {}