summaryrefslogtreecommitdiffstats
path: root/openmp/libomptarget/src
diff options
context:
space:
mode:
authorJonas Hahnfeld <hahnjo@hahnjo.de>2017-11-03 18:28:25 +0000
committerJonas Hahnfeld <hahnjo@hahnjo.de>2017-11-03 18:28:25 +0000
commitb71424fda5d8375e47946775b6687f15ec17939a (patch)
tree97c06f1e400a3d96787e8fdb98fc77fbe216b6e5 /openmp/libomptarget/src
parentf0a1c65fb007d727ff93bd8ff9c438f689cde77d (diff)
downloadbcm5719-llvm-b71424fda5d8375e47946775b6687f15ec17939a.tar.gz
bcm5719-llvm-b71424fda5d8375e47946775b6687f15ec17939a.zip
Revert "Rename fields of ompt_frame_t"
This reverts commit r317338 which discarded some recent commits. llvm-svn: 317347
Diffstat (limited to 'openmp/libomptarget/src')
-rw-r--r--openmp/libomptarget/src/omptarget.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/openmp/libomptarget/src/omptarget.cpp b/openmp/libomptarget/src/omptarget.cpp
index 95e0e1ee2ba..ca1d41a28b2 100644
--- a/openmp/libomptarget/src/omptarget.cpp
+++ b/openmp/libomptarget/src/omptarget.cpp
@@ -2200,9 +2200,6 @@ static int target(int32_t device_id, void *host_ptr, int32_t arg_num,
tgt_args.push_back(TgtPtrBegin);
tgt_offsets.push_back(TgtBaseOffset);
}
- // Push omp handle.
- tgt_args.push_back((void *)0);
- tgt_offsets.push_back(0);
assert(tgt_args.size() == tgt_offsets.size() &&
"Size mismatch in arguments and offsets");
OpenPOWER on IntegriCloud