diff options
Diffstat (limited to 'llvm/examples')
| -rw-r--r-- | llvm/examples/Kaleidoscope/Chapter8/toy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/examples/Kaleidoscope/Chapter8/toy.cpp b/llvm/examples/Kaleidoscope/Chapter8/toy.cpp index 8dfec4b2eba..2838d6df593 100644 --- a/llvm/examples/Kaleidoscope/Chapter8/toy.cpp +++ b/llvm/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; } |

