diff options
author | Daniel Dunbar <daniel@zuster.org> | 2008-09-09 23:14:03 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2008-09-09 23:14:03 +0000 |
commit | 7c086516f3cc9fba2733b1919973206c6ba4b171 (patch) | |
tree | d6bf0f2be9e8b147829ae3209e81ec414c1b1304 /lib/CodeGen/CodeGenFunction.h | |
parent | f99cb051665d2faab038ed855b2eff15d603796d (diff) |
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
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | lib/CodeGen/CodeGenFunction.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h index 6fad0486dd..cef6503eeb 100644 --- a/lib/CodeGen/CodeGenFunction.h +++ b/lib/CodeGen/CodeGenFunction.h @@ -133,6 +133,9 @@ public: 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); |