CodeGeneration: Adjust call to CreateCall.

Needed to avoid compile error after the patch "Convert CallInst and
InvokeInst APIs to use ArrayRef.

Contributed by: Sebastian Pop <sebpop@gmail.com>

llvm-svn: 135321
This commit is contained in:
Tobias Grosser
2011-07-15 22:54:41 +00:00
parent 945864d6dc
commit 0679e17644

View File

@@ -1028,8 +1028,7 @@ public:
Function *parallelStartFunction =
M->getFunction("GOMP_parallel_loop_runtime_start");
Builder.CreateCall(parallelStartFunction, Arguments.begin(),
Arguments.end());
Builder.CreateCall(parallelStartFunction, Arguments);
// Create call to the subfunction.
Builder.CreateCall(SubFunction, subfunctionParam);