diff options
author | Anders Carlsson <andersca@mac.com> | 2009-02-07 21:26:04 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2009-02-07 21:26:04 +0000 |
commit | 190d00e1396214c77539c7095756b9ea38160463 (patch) | |
tree | e68f016a6db472822a7cd12e1f5d6a722b315f2e /lib/CodeGen/CodeGenFunction.h | |
parent | 20926c6eaad539459925d857f64600cd4cc77e99 (diff) |
Simplify the Objective-C exception handling.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64031 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | lib/CodeGen/CodeGenFunction.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h index 1a251d1363..ce32a45a5d 100644 --- a/lib/CodeGen/CodeGenFunction.h +++ b/lib/CodeGen/CodeGenFunction.h @@ -95,18 +95,13 @@ public: // inside @catch blocks and which @finally block exits from an EH // scope should be chained through. struct ObjCEHEntry { - ObjCEHEntry(llvm::BasicBlock *fb, llvm::BasicBlock *fne, - llvm::SwitchInst *fs, llvm::Value *dc) - : FinallyBlock(fb), FinallyNoExit(fne), FinallySwitch(fs), + ObjCEHEntry(llvm::BasicBlock *fb, llvm::SwitchInst *fs, llvm::Value *dc) + : FinallyBlock(fb), FinallySwitch(fs), DestCode(dc), Exception(0) {} /// Entry point to the finally block. llvm::BasicBlock *FinallyBlock; - /// Entry point to the finally block which skips execution of the - /// try_exit runtime function. - llvm::BasicBlock *FinallyNoExit; - /// Switch instruction which runs at the end of the finally block /// to forward jumps through the finally block. llvm::SwitchInst *FinallySwitch; |