From: Chris Lattner Date: Tue, 13 Feb 2007 06:30:42 +0000 (+0000) Subject: now that we can pass ranges into CallInst ctors, eliminate vector heap traffic X-Git-Tag: android-x86-6.0-r1~1003^2~37279 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=d0e44c2e055c33ac5b9b98ecbdbebd5cc3948973;p=android-x86%2Fexternal-llvm.git now that we can pass ranges into CallInst ctors, eliminate vector heap traffic git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34229 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Bytecode/Reader/Reader.cpp b/lib/Bytecode/Reader/Reader.cpp index 0299da6d044..d1610515362 100644 --- a/lib/Bytecode/Reader/Reader.cpp +++ b/lib/Bytecode/Reader/Reader.cpp @@ -669,7 +669,7 @@ void BytecodeReader::ParseInstruction(SmallVector &Oprnds, const FunctionType *FTy = dyn_cast(PTy->getElementType()); if (FTy == 0) error("Call to non function pointer value!"); - std::vector Params; + SmallVector Params; if (!FTy->isVarArg()) { FunctionType::param_iterator It = FTy->param_begin(); @@ -720,7 +720,7 @@ void BytecodeReader::ParseInstruction(SmallVector &Oprnds, if (FTy == 0) error("Invoke to non function pointer value!"); - std::vector Params; + SmallVector Params; BasicBlock *Normal, *Except; unsigned CallingConv = Oprnds.back(); Oprnds.pop_back();