diff options
author | David Chisnall <csdavec@swan.ac.uk> | 2012-11-07 16:50:40 +0000 |
---|---|---|
committer | David Chisnall <csdavec@swan.ac.uk> | 2012-11-07 16:50:40 +0000 |
commit | c686004145b1f4dbeb38173a0886ba7040ae0089 (patch) | |
tree | 17d450e090c30c2799d7aacf4284881f9134aca9 /lib/CodeGen/CodeGenFunction.h | |
parent | 964490c0a8bd3398dc85d224a167ca9c35a36c85 (diff) |
Fix the Objective-C exception rethrow from cleanups (GNU runtimes). Note that
a bug in the inliner still causes the wrong thing to happen at -O2 and above
(PR14116).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167534 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | lib/CodeGen/CodeGenFunction.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h index fadc391328..f2ab226ab5 100644 --- a/lib/CodeGen/CodeGenFunction.h +++ b/lib/CodeGen/CodeGenFunction.h @@ -908,7 +908,7 @@ public: /// themselves). void popCatchScope(); - llvm::BasicBlock *getEHResumeBlock(); + llvm::BasicBlock *getEHResumeBlock(bool isCleanup); llvm::BasicBlock *getEHDispatchBlock(EHScopeStack::stable_iterator scope); /// An object to manage conditionally-evaluated expressions. |