mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-12 13:30:51 +00:00
Fixing a compile error with MSVC 2013 where there is no conversion from DISubprogram to DIScope directly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234890 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9a1030a4d6
commit
30e4b17e25
@ -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
Block a user