From 48de1012a2d8525362b417efce6fbfdf1c2b36e1 Mon Sep 17 00:00:00 2001 From: Anders Carlsson Date: Sun, 8 Feb 2009 22:25:30 +0000 Subject: Add a simplified EmitJumpThroughFinally and use it in CGObjC in preparation of making it use the cleanup stack. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64098 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/CodeGenFunction.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib/CodeGen/CodeGenFunction.h') diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h index 320e26b82d..248bb18262 100644 --- a/lib/CodeGen/CodeGenFunction.h +++ b/lib/CodeGen/CodeGenFunction.h @@ -125,8 +125,9 @@ public: /// /// \param ExecuteTryExit - When true, the try_exit runtime function /// should be called prior to executing the finally code. - void EmitJumpThroughFinally(ObjCEHEntry *Entry, llvm::BasicBlock *Dest, - bool ExecuteTryExit=true); + void EmitJumpThroughFinally(ObjCEHEntry *Entry, llvm::BasicBlock *Dest); + + void EmitJumpThroughFinally(llvm::BasicBlock *Dest); /// PushCleanupBlock - Push a new cleanup entry on the stack and set the /// passed in block as the cleanup block. -- cgit v1.2.3