summaryrefslogtreecommitdiffstats
path: root/polly/lib/Exchange/ScopLibImporter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'polly/lib/Exchange/ScopLibImporter.cpp')
-rwxr-xr-xpolly/lib/Exchange/ScopLibImporter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/polly/lib/Exchange/ScopLibImporter.cpp b/polly/lib/Exchange/ScopLibImporter.cpp
index 0a4b97b69d6..bf90857f893 100755
--- a/polly/lib/Exchange/ScopLibImporter.cpp
+++ b/polly/lib/Exchange/ScopLibImporter.cpp
@@ -62,7 +62,7 @@ char ScopLibImporter::ID = 0;
namespace {
std::string ScopLibImporter::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;
}
@@ -85,7 +85,7 @@ bool ScopLibImporter::runOnRegion(Region *R, RGPassManager &RGM) {
return false;
}
- std::string FunctionName = R->getEntry()->getParent()->getNameStr();
+ std::string FunctionName = R->getEntry()->getParent()->getName();
errs() << "Reading Scop '" << R->getNameStr() << "' in function '"
<< FunctionName << "' from '" << FileName << "'.\n";
OpenPOWER on IntegriCloud