Factor CodeGenFunction::StartFunction out of GenerateCode and
StartObjCMethod.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56030 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h
index 6fad048..cef6503 100644
--- a/lib/CodeGen/CodeGenFunction.h
+++ b/lib/CodeGen/CodeGenFunction.h
@@ -133,6 +133,9 @@
 
   void GenerateCode(const FunctionDecl *FD,
                     llvm::Function *Fn);
+  void StartFunction(const Decl *D, QualType RetTy, 
+                     llvm::Function *Fn,
+                     const FunctionArgList &Args);
   void FinishFunction(SourceLocation EndLoc=SourceLocation());
   
   const llvm::Type *ConvertType(QualType T);