summaryrefslogtreecommitdiffstats
path: root/polly/lib/Exchange/ScopLibExporter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'polly/lib/Exchange/ScopLibExporter.cpp')
-rwxr-xr-xpolly/lib/Exchange/ScopLibExporter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/polly/lib/Exchange/ScopLibExporter.cpp b/polly/lib/Exchange/ScopLibExporter.cpp
index 24f4ab405ea..583240d51cb 100755
--- a/polly/lib/Exchange/ScopLibExporter.cpp
+++ b/polly/lib/Exchange/ScopLibExporter.cpp
@@ -54,7 +54,7 @@ char ScopLibExporter::ID = 0;
std::string ScopLibExporter::getFileName(Scop *S) const {
std::string FunctionName =
- S->getRegion().getEntry()->getParent()->getNameStr();
+ S->getRegion().getEntry()->getParent()->getName();
std::string FileName = FunctionName + "___" + S->getNameStr() + ".scoplib";
return FileName;
}
@@ -76,7 +76,7 @@ bool ScopLibExporter::runOnScop(Scop &scop) {
scoplib.print(F);
fclose(F);
- std::string FunctionName = R->getEntry()->getParent()->getNameStr();
+ std::string FunctionName = R->getEntry()->getParent()->getName();
errs() << "Writing Scop '" << R->getNameStr() << "' in function '"
<< FunctionName << "' to '" << FileName << "'.\n";
OpenPOWER on IntegriCloud