1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

eliminate vector-related ctors

llvm-svn: 34227
This commit is contained in:
Chris Lattner 2007-02-13 06:06:26 +00:00
parent 80be85730a
commit cd8f54f112

View File

@ -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.