projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a1030a
)
Fixing a compile error with MSVC 2013 where there is no conversion from DISubprogram...
author
Aaron Ballman
<aaron@aaronballman.com>
Tue, 14 Apr 2015 14:19:09 +0000
(14:19 +0000)
committer
Aaron Ballman
<aaron@aaronballman.com>
Tue, 14 Apr 2015 14:19:09 +0000
(14:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234890
91177308
-0d34-0410-b5e6-
96231b3b80d8
examples/Kaleidoscope/Chapter8/toy.cpp
patch
|
blob
|
history
diff --git
a/examples/Kaleidoscope/Chapter8/toy.cpp
b/examples/Kaleidoscope/Chapter8/toy.cpp
index 2838d6df5937a836ceae034ead157ec3e07f3b14..8dfec4b2ebadf14d33e37b6322053ac6191e8588 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] = SP;
+ KSDbgInfo.FnScopeMap[this] =
(DIScope)
SP;
return F;
}