summaryrefslogtreecommitdiffstats
path: root/polly
diff options
context:
space:
mode:
authorMichael Kruse <llvm@meinersbur.de>2018-08-01 00:48:01 +0000
committerMichael Kruse <llvm@meinersbur.de>2018-08-01 00:48:01 +0000
commit37b3c1775b65b0fb29c1119cd9ec6e5d7fdc473e (patch)
tree4655ceaa9121d4ac33d03c62f892212d936c1911 /polly
parentda08078fb2c40f78c955bbcab5489bb3d6e01d69 (diff)
downloadbcm5719-llvm-37b3c1775b65b0fb29c1119cd9ec6e5d7fdc473e.tar.gz
bcm5719-llvm-37b3c1775b65b0fb29c1119cd9ec6e5d7fdc473e.zip
[JSONExporter] Try to appease buildbot. NFC.
The compiler does not seem to able move a local variable in the function's return statement. llvm-svn: 338466
Diffstat (limited to 'polly')
-rw-r--r--polly/lib/Exchange/JSONExporter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/polly/lib/Exchange/JSONExporter.cpp b/polly/lib/Exchange/JSONExporter.cpp
index 7e7728003e0..423768bdeed 100644
--- a/polly/lib/Exchange/JSONExporter.cpp
+++ b/polly/lib/Exchange/JSONExporter.cpp
@@ -173,7 +173,7 @@ static json::Value getJSON(Scop &S) {
}
root["statements"] = std::move(Statements);
- return root;
+ return json::Value(std::move(root));
}
static void exportScop(Scop &S) {
OpenPOWER on IntegriCloud