llvm.org GIT mirror llvm / dcbcd42
Fix Kaleidoscope example. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@252222 91177308-0d34-0410-b5e6-96231b3b80d8 Peter Collingbourne 3 years ago
1 changed file(s) with 2 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
12501250 FContext, P.getName(), StringRef(), Unit, LineNo,
12511251 CreateFunctionType(TheFunction->arg_size(), Unit),
12521252 false /* internal linkage */, true /* definition */, ScopeLine,
1253 DINode::FlagPrototyped, false, TheFunction);
1253 DINode::FlagPrototyped, false);
1254 TheFunction->setSubprogram(SP);
12541255
12551256 // Push the current scope.
12561257 KSDbgInfo.LexicalBlocks.push_back(SP);