OSDN Git Service

Use SmallVector instead.
authorEvan Cheng <evan.cheng@apple.com>
Fri, 11 Aug 2006 18:33:41 +0000 (18:33 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 11 Aug 2006 18:33:41 +0000 (18:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29619 91177308-0d34-0410-b5e6-96231b3b80d8

utils/TableGen/DAGISelEmitter.cpp

index bcc192f..08da0c0 100644 (file)
@@ -2560,7 +2560,7 @@ public:
            "(N.getOperand(N.getNumOperands()-1).getValueType() == MVT::Flag);");
       }
       if (HasVarOps)
-        emitCode("std::vector<SDOperand> Ops;");
+        emitCode("SmallVector<SDOperand, 8> Ops;");
 
       // How many results is this pattern expected to produce?
       unsigned PatResults = 0;