diff options
| author | Tobias Grosser <grosser@fim.uni-passau.de> | 2011-10-06 00:03:54 +0000 |
|---|---|---|
| committer | Tobias Grosser <grosser@fim.uni-passau.de> | 2011-10-06 00:03:54 +0000 |
| commit | 3c69fab0e8b72da1bc1ecbf764ab7d732ab8eb45 (patch) | |
| tree | b18dd8a1e12c86fa7b6ce701d8209e0bfeffb8e2 /polly/lib/Exchange/JSONExporter.cpp | |
| parent | 0e27e24751d4f54cc141ef9302dcf0ec340c98e7 (diff) | |
| download | bcm5719-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-x | polly/lib/Exchange/JSONExporter.cpp | 4 |
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)) { |

