diff options
author | John McCall <rjmccall@apple.com> | 2010-09-18 02:24:39 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-09-18 02:24:39 +0000 |
commit | f09d96f76d6c87c3527285e867ebfa7606e49556 (patch) | |
tree | f5ddfe4085bf825d6dffa47e64145e69a7b36216 /clang/lib/CodeGen/CodeGenFunction.h | |
parent | 6ba7815115c9f29f652a21d1e348f7b6099cf6cb (diff) | |
download | bcm5719-llvm-f09d96f76d6c87c3527285e867ebfa7606e49556.tar.gz bcm5719-llvm-f09d96f76d6c87c3527285e867ebfa7606e49556.zip |
Adjust a fixup's starting branch if it's being resolved because
it reached the outermost scope and it hasn't yet been forwarded
to a cleanup. Fixed PR8175.
llvm-svn: 114259
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index 4a5beb4baa1..d2fa57a9edc 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -414,7 +414,7 @@ public: void popNullFixups(); /// Clears the branch-fixups list. This should only be called by - /// CodeGenFunction::ResolveAllBranchFixups. + /// ResolveAllBranchFixups. void clearFixups() { BranchFixups.clear(); } /// Gets the next EH destination index. @@ -625,7 +625,6 @@ public: /// the cleanup blocks that have been added. void PopCleanupBlocks(EHScopeStack::stable_iterator OldCleanupStackSize); - void ResolveAllBranchFixups(llvm::SwitchInst *Switch); void ResolveBranchFixups(llvm::BasicBlock *Target); /// The given basic block lies in the current EH scope, but may be a |