Eliminate use of ctors that take vectors.
llvm-svn: 34219
This commit is contained in:
@@ -403,7 +403,7 @@ emitCallAndSwitchStatement(Function *newFunction, BasicBlock *codeReplacer,
|
||||
}
|
||||
|
||||
// Emit the call to the function
|
||||
CallInst *call = new CallInst(newFunction, params,
|
||||
CallInst *call = new CallInst(newFunction, ¶ms[0], params.size(),
|
||||
NumExitBlocks > 1 ? "targetBlock" : "");
|
||||
codeReplacer->getInstList().push_back(call);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user