summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--polly/lib/CodeGeneration.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/polly/lib/CodeGeneration.cpp b/polly/lib/CodeGeneration.cpp
index 87f16651c13..efe0182a198 100644
--- a/polly/lib/CodeGeneration.cpp
+++ b/polly/lib/CodeGeneration.cpp
@@ -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);
OpenPOWER on IntegriCloud