Fixing a compile error with MSVC 2013 where there is no conversion from DISubprogram to DIScope directly.

llvm-svn: 234890
This commit is contained in:
Aaron Ballman 2015-04-14 14:19:09 +00:00
parent b50f4ba461
commit c20e6d755d
1 changed files with 1 additions and 1 deletions

View File

@ -1234,7 +1234,7 @@ Function *PrototypeAST::Codegen() {
CreateFunctionType(Args.size(), Unit), false /* internal linkage */,
true /* definition */, ScopeLine, DIDescriptor::FlagPrototyped, false, F);
KSDbgInfo.FnScopeMap[this] = SP;
KSDbgInfo.FnScopeMap[this] = (DIScope)SP;
return F;
}