mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-19 10:53:55 +00:00
Fix Kaleidoscope example.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@252222 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5f220beefc
commit
dcbcd42f5c
@ -1251,7 +1251,8 @@ Function *FunctionAST::codegen() {
|
||||
FContext, P.getName(), StringRef(), Unit, LineNo,
|
||||
CreateFunctionType(TheFunction->arg_size(), Unit),
|
||||
false /* internal linkage */, true /* definition */, ScopeLine,
|
||||
DINode::FlagPrototyped, false, TheFunction);
|
||||
DINode::FlagPrototyped, false);
|
||||
TheFunction->setSubprogram(SP);
|
||||
|
||||
// Push the current scope.
|
||||
KSDbgInfo.LexicalBlocks.push_back(SP);
|
||||
|
Loading…
x
Reference in New Issue
Block a user