diff options
author | John McCall <rjmccall@apple.com> | 2010-07-21 07:04:01 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-07-21 07:04:01 +0000 |
commit | 6962f8d156735172146ae812732f4c4ddc13e91b (patch) | |
tree | fa0b9b8a3a0bedbe5272307ebd13ceb2955953e1 /lib/CodeGen/CodeGenFunction.h | |
parent | cc5052999cd064584492ba15a808b6e1cee6d931 (diff) |
Kill the CleanupBlock API.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@108998 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | lib/CodeGen/CodeGenFunction.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h index 3823ff31d0..f6a80cb264 100644 --- a/lib/CodeGen/CodeGenFunction.h +++ b/lib/CodeGen/CodeGenFunction.h @@ -476,27 +476,6 @@ public: /// process all branch fixups. void PopCleanupBlock(); - /// CleanupBlock - RAII object that will create a cleanup block and - /// set the insert point to that block. When destructed, it sets the - /// insert point to the previous block and pushes a new cleanup - /// entry on the stack. - class CleanupBlock { - CodeGenFunction &CGF; - CGBuilderTy::InsertPoint SavedIP; - llvm::BasicBlock *NormalCleanupEntryBB; - llvm::BasicBlock *NormalCleanupExitBB; - llvm::BasicBlock *EHCleanupEntryBB; - - public: - CleanupBlock(CodeGenFunction &CGF, CleanupKind Kind); - - /// If we're currently writing a normal cleanup, tie that off and - /// start writing an EH cleanup. - void beginEHCleanup(); - - ~CleanupBlock(); - }; - /// \brief Enters a new scope for capturing cleanups, all of which /// will be executed once the scope is exited. class RunCleanupsScope { |