summaryrefslogtreecommitdiffstats
path: root/polly/lib/CodeGen/IslCodeGeneration.cpp
diff options
context:
space:
mode:
authorJohannes Doerfert <doerfert@cs.uni-saarland.de>2015-03-01 18:40:25 +0000
committerJohannes Doerfert <doerfert@cs.uni-saarland.de>2015-03-01 18:40:25 +0000
commit3fe584d64f58413ade2be74c61446ed8e0603d1a (patch)
treeff64bd1ab3f841870632e12eee910d3c09f3cc05 /polly/lib/CodeGen/IslCodeGeneration.cpp
parent0200f2507ef77ddbf2bdd0798ad80d89d9a7ad48 (diff)
downloadbcm5719-llvm-3fe584d64f58413ade2be74c61446ed8e0603d1a.tar.gz
bcm5719-llvm-3fe584d64f58413ade2be74c61446ed8e0603d1a.zip
[Refactor] Add a Scop & as argument to printScop
This is the first step in the interface simplification. llvm-svn: 230897
Diffstat (limited to 'polly/lib/CodeGen/IslCodeGeneration.cpp')
-rw-r--r--polly/lib/CodeGen/IslCodeGeneration.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/polly/lib/CodeGen/IslCodeGeneration.cpp b/polly/lib/CodeGen/IslCodeGeneration.cpp
index df0654de378..12664461be6 100644
--- a/polly/lib/CodeGen/IslCodeGeneration.cpp
+++ b/polly/lib/CodeGen/IslCodeGeneration.cpp
@@ -930,7 +930,7 @@ public:
"SCoP ==\n";
S.print(errs());
errs() << "\n== The isl AST ==\n";
- AI->printScop(errs());
+ AI->printScop(errs(), S);
errs() << "\n== The invalid function ==\n";
F.print(errs());
errs() << "\n== The errors ==\n";
@@ -977,7 +977,7 @@ public:
return true;
}
- virtual void printScop(raw_ostream &OS) const {}
+ virtual void printScop(raw_ostream &, Scop &) const {}
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
AU.addRequired<DataLayoutPass>();
OpenPOWER on IntegriCloud