diff options
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.cpp b/clang/lib/CodeGen/CodeGenFunction.cpp index eb471ac173d..d6e498f453c 100644 --- a/clang/lib/CodeGen/CodeGenFunction.cpp +++ b/clang/lib/CodeGen/CodeGenFunction.cpp @@ -830,7 +830,7 @@ void CodeGenFunction::PopCleanupBlock(bool FallthroughIsBranchThrough) { // If we have exactly one branch-after and no branch-throughs, we // can dispatch it without a switch. - if (!Scope.hasBranchThroughs() && + if (!Scope.hasEHBranchThroughs() && Scope.getNumEHBranchAfters() == 1) { assert(!EHBranchThroughDest); |