summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/src
diff options
context:
space:
mode:
authorJoachim Protze <protze@itc.rwth-aachen.de>2019-01-16 09:39:42 +0000
committerJoachim Protze <protze@itc.rwth-aachen.de>2019-01-16 09:39:42 +0000
commitc3716617df6c8cb41031a61237343a4a28567c63 (patch)
tree3269ee3498432be6f8d287c6a3e6ea8085885359 /openmp/runtime/src
parent685c76d7a3d868059020a4e21b99a34b143fc9b5 (diff)
downloadbcm5719-llvm-c3716617df6c8cb41031a61237343a4a28567c63.tar.gz
bcm5719-llvm-c3716617df6c8cb41031a61237343a4a28567c63.zip
Fix compiler error in r351311
llvm-svn: 351315
Diffstat (limited to 'openmp/runtime/src')
-rw-r--r--openmp/runtime/src/ompt-general.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/openmp/runtime/src/ompt-general.cpp b/openmp/runtime/src/ompt-general.cpp
index 595bf556dff..cea00fff07a 100644
--- a/openmp/runtime/src/ompt-general.cpp
+++ b/openmp/runtime/src/ompt-general.cpp
@@ -491,7 +491,7 @@ OMPT_API_ROUTINE int ompt_get_parallel_info(int ancestor_level,
OMPT_API_ROUTINE int ompt_get_state(ompt_wait_id_t *wait_id) {
if (!ompt_enabled.enabled)
- return omp_state_work_serial;
+ return ompt_state_work_serial;
int thread_state = __ompt_get_state_internal(wait_id);
if (thread_state == ompt_state_undefined) {
OpenPOWER on IntegriCloud