summaryrefslogtreecommitdiffstats
path: root/polly/lib/Exchange/JSONExporter.cpp
diff options
context:
space:
mode:
authorTobias Grosser <grosser@fim.uni-passau.de>2011-10-06 00:03:54 +0000
committerTobias Grosser <grosser@fim.uni-passau.de>2011-10-06 00:03:54 +0000
commit3c69fab0e8b72da1bc1ecbf764ab7d732ab8eb45 (patch)
treeb18dd8a1e12c86fa7b6ce701d8209e0bfeffb8e2 /polly/lib/Exchange/JSONExporter.cpp
parent0e27e24751d4f54cc141ef9302dcf0ec340c98e7 (diff)
downloadbcm5719-llvm-3c69fab0e8b72da1bc1ecbf764ab7d732ab8eb45.tar.gz
bcm5719-llvm-3c69fab0e8b72da1bc1ecbf764ab7d732ab8eb45.zip
ScopInfo: Get the isl_ctx always with getIslCtx()
llvm-svn: 141254
Diffstat (limited to 'polly/lib/Exchange/JSONExporter.cpp')
-rwxr-xr-xpolly/lib/Exchange/JSONExporter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/polly/lib/Exchange/JSONExporter.cpp b/polly/lib/Exchange/JSONExporter.cpp
index b1dad4ee169..aa5d719ad29 100755
--- a/polly/lib/Exchange/JSONExporter.cpp
+++ b/polly/lib/Exchange/JSONExporter.cpp
@@ -236,7 +236,7 @@ bool JSONImporter::runOnScop(Scop &scop) {
continue;
Json::Value schedule = jscop["statements"][index]["schedule"];
- isl_map *m = isl_map_read_from_str(S->getCtx(), schedule.asCString());
+ isl_map *m = isl_map_read_from_str(S->getIslCtx(), schedule.asCString());
NewScattering[*SI] = m;
index++;
}
@@ -266,7 +266,7 @@ bool JSONImporter::runOnScop(Scop &scop) {
ME = Stmt->memacc_end(); MI != ME; ++MI) {
Json::Value accesses = jscop["statements"][statementIdx]
["accesses"][memoryAccessIdx]["relation"];
- isl_map *newAccessMap = isl_map_read_from_str(S->getCtx(),
+ isl_map *newAccessMap = isl_map_read_from_str(S->getIslCtx(),
accesses.asCString());
isl_map *currentAccessMap = (*MI)->getAccessFunction();
if (!isl_map_has_equal_space(currentAccessMap, newAccessMap)) {
OpenPOWER on IntegriCloud