Use SmallVector instead.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29619 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng 2006-08-11 18:33:41 +00:00
parent 3577e38c2b
commit 1e060f0242

View File

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