diff options
author | Chris Lattner <sabre@nondot.org> | 2007-02-13 06:06:26 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-02-13 06:06:26 +0000 |
commit | e3cf188c1e1e693d73621ae197e39f79090a6c5d (patch) | |
tree | f65ce18e53980f31f6da3922d6a167865b30e648 /llvm/examples/HowToUseJIT/HowToUseJIT.cpp | |
parent | 55fa988d25f9e063b77bbe253acade25eb8c299f (diff) | |
download | bcm5719-llvm-e3cf188c1e1e693d73621ae197e39f79090a6c5d.tar.gz bcm5719-llvm-e3cf188c1e1e693d73621ae197e39f79090a6c5d.zip |
eliminate vector-related ctors
llvm-svn: 34227
Diffstat (limited to 'llvm/examples/HowToUseJIT/HowToUseJIT.cpp')
-rw-r--r-- | llvm/examples/HowToUseJIT/HowToUseJIT.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/examples/HowToUseJIT/HowToUseJIT.cpp b/llvm/examples/HowToUseJIT/HowToUseJIT.cpp index 47095629355..8948b3ab1ae 100644 --- a/llvm/examples/HowToUseJIT/HowToUseJIT.cpp +++ b/llvm/examples/HowToUseJIT/HowToUseJIT.cpp @@ -89,9 +89,7 @@ int main() { Value *Ten = ConstantInt::get(Type::Int32Ty, 10); // Pass Ten to the call call: - std::vector<Value*> Params; - Params.push_back(Ten); - CallInst *Add1CallRes = new CallInst(Add1F, Params, "add1", BB); + CallInst *Add1CallRes = new CallInst(Add1F, Ten, "add1", BB); Add1CallRes->setTailCall(true); // Create the return instruction and add it to the basic block. |