projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
DebugInfo: Add implicit conversion from DISubprogram to DIScope
[oota-llvm.git]
/
examples
/
Kaleidoscope
/
Chapter8
/
toy.cpp
diff --git
a/examples/Kaleidoscope/Chapter8/toy.cpp
b/examples/Kaleidoscope/Chapter8/toy.cpp
index 8dfec4b2ebadf14d33e37b6322053ac6191e8588..2838d6df5937a836ceae034ead157ec3e07f3b14 100644
(file)
--- a/
examples/Kaleidoscope/Chapter8/toy.cpp
+++ b/
examples/Kaleidoscope/Chapter8/toy.cpp
@@
-1234,7
+1234,7
@@
Function *PrototypeAST::Codegen() {
CreateFunctionType(Args.size(), Unit), false /* internal linkage */,
true /* definition */, ScopeLine, DIDescriptor::FlagPrototyped, false, F);
- KSDbgInfo.FnScopeMap[this] =
(DIScope)
SP;
+ KSDbgInfo.FnScopeMap[this] = SP;
return F;
}