DebugInfo: Gut DIDescriptor
[oota-llvm.git] / examples / Kaleidoscope / Chapter8 / toy.cpp
index 5665c06a9afb0020e93966a97469105e3f967a34..21f2eb1d3adcf7c80e309b2561d9309045ab4acc 100644 (file)
@@ -1232,7 +1232,7 @@ Function *PrototypeAST::Codegen() {
   DISubprogram SP = DBuilder->createFunction(
       FContext, Name, StringRef(), Unit, LineNo,
       CreateFunctionType(Args.size(), Unit), false /* internal linkage */,
-      true /* definition */, ScopeLine, DIDescriptor::FlagPrototyped, false, F);
+      true /* definition */, ScopeLine, DebugNode::FlagPrototyped, false, F);
 
   KSDbgInfo.FnScopeMap[this] = SP;
   return F;