forked from OSchip/llvm-project
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:
parent
b50f4ba461
commit
c20e6d755d
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue