summaryrefslogtreecommitdiffstats
path: root/polly/unittests/Isl/IslTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'polly/unittests/Isl/IslTest.cpp')
-rw-r--r--polly/unittests/Isl/IslTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/polly/unittests/Isl/IslTest.cpp b/polly/unittests/Isl/IslTest.cpp
index 9b6dac11c54..2fbf3364f1e 100644
--- a/polly/unittests/Isl/IslTest.cpp
+++ b/polly/unittests/Isl/IslTest.cpp
@@ -23,9 +23,9 @@ static isl::space parseSpace(isl_ctx *Ctx, const char *Str) {
isl::space Result;
if (Obj.type == isl_obj_set)
- Result = give(isl_set_get_space(static_cast<isl_set *>(Obj.v)));
+ Result = isl::manage(isl_set_get_space(static_cast<isl_set *>(Obj.v)));
else if (Obj.type == isl_obj_map)
- Result = give(isl_map_get_space(static_cast<isl_map *>(Obj.v)));
+ Result = isl::manage(isl_map_get_space(static_cast<isl_map *>(Obj.v)));
isl_stream_free(Stream);
if (Obj.type)
OpenPOWER on IntegriCloud