diff options
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
-rw-r--r-- | lib/CodeGen/CodeGenFunction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CodeGenFunction.cpp b/lib/CodeGen/CodeGenFunction.cpp index eb471ac173..d6e498f453 100644 --- a/lib/CodeGen/CodeGenFunction.cpp +++ b/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); |