From d0e44c2e055c33ac5b9b98ecbdbebd5cc3948973 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 13 Feb 2007 06:30:42 +0000 Subject: [PATCH] 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 --- lib/Bytecode/Reader/Reader.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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();