diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2009-07-30 17:49:11 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2009-07-30 17:49:11 +0000 |
commit | 426cc3828ce07a2cff15c9837f5958e6fc4b7739 (patch) | |
tree | 95493da6c4863091df9486ebf008ed255c1b7852 /lib/CodeGen/CodeGenFunction.h | |
parent | 4b5acc5454330046cf651c7eef61d1cdfff87d99 (diff) |
Patch for future ir-gen for destructor calls.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77608 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | lib/CodeGen/CodeGenFunction.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h index a3e3796310..4f8a14af14 100644 --- a/lib/CodeGen/CodeGenFunction.h +++ b/lib/CodeGen/CodeGenFunction.h @@ -359,7 +359,12 @@ public: void FinishFunction(SourceLocation EndLoc=SourceLocation()); void EmitCtorPrologue(const CXXConstructorDecl *CD); - + + /// EmitDtorEpilogue - Emit all code that comes at the end of class's + /// destructor. This is to call destructors on members and base classes + /// in reverse order of their construction. + void EmitDtorEpilogue(const CXXDestructorDecl *DD); + /// EmitFunctionProlog - Emit the target specific LLVM code to load the /// arguments for the given function. This is also responsible for naming the /// LLVM function arguments. |