Fix polly build after LLVM r234263

llvm-svn: 234266
This commit is contained in:
Duncan P. N. Exon Smith 2015-04-07 00:29:05 +00:00
parent 742dbf1e1d
commit 7cf5fedbad
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ void getDebugLocation(const Region *R, unsigned &LineBegin, unsigned &LineEnd,
if (!DL)
continue;
DIScope Scope(DL.getScope());
DIScope Scope = cast<MDScope>(DL.getScope());
if (FileName.empty())
FileName = Scope.getFilename();