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 | 9a837be2b947946e6918bd81016e5f6d78af5f1c (patch) | |
tree | 7709badf579f373564b9c8283bbea9fad9711841 /clang/lib/CodeGen/CodeGenFunction.h | |
parent | 67dc5702f879a8a19e3619c2237876fd9c2adfb0 (diff) | |
download | bcm5719-llvm-9a837be2b947946e6918bd81016e5f6d78af5f1c.tar.gz bcm5719-llvm-9a837be2b947946e6918bd81016e5f6d78af5f1c.zip |
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).
llvm-svn: 167534
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index fadc391328f..f2ab226ab53 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/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. |