diff options
author | Chris Lattner <sabre@nondot.org> | 2007-02-13 06:30:42 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-02-13 06:30:42 +0000 |
commit | d0e44c2e055c33ac5b9b98ecbdbebd5cc3948973 (patch) | |
tree | 846d077584efb918219ef705611e2b09ee34c3e7 /lib/Bytecode | |
parent | 133bab0606719cf3e8f5c44873cf205f58a181b5 (diff) |
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
Diffstat (limited to 'lib/Bytecode')
-rw-r--r-- | lib/Bytecode/Reader/Reader.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Bytecode/Reader/Reader.cpp b/lib/Bytecode/Reader/Reader.cpp index 0299da6d04..d161051536 100644 --- a/lib/Bytecode/Reader/Reader.cpp +++ b/lib/Bytecode/Reader/Reader.cpp @@ -669,7 +669,7 @@ void BytecodeReader::ParseInstruction(SmallVector<unsigned, 8> &Oprnds, const FunctionType *FTy = dyn_cast<FunctionType>(PTy->getElementType()); if (FTy == 0) error("Call to non function pointer value!"); - std::vector<Value *> Params; + SmallVector<Value *, 8> Params; if (!FTy->isVarArg()) { FunctionType::param_iterator It = FTy->param_begin(); @@ -720,7 +720,7 @@ void BytecodeReader::ParseInstruction(SmallVector<unsigned, 8> &Oprnds, if (FTy == 0) error("Invoke to non function pointer value!"); - std::vector<Value *> Params; + SmallVector<Value *, 8> Params; BasicBlock *Normal, *Except; unsigned CallingConv = Oprnds.back(); Oprnds.pop_back(); |