| Index: pkg/compiler/lib/src/ssa/switch_continue_analysis.dart
|
| diff --git a/pkg/compiler/lib/src/ssa/switch_continue_analysis.dart b/pkg/compiler/lib/src/ssa/switch_continue_analysis.dart
|
| index ea06f8b36c637d6e13ee71459c98a11ed132e6a1..e11b8f44220361b370960b37cec0f6fd011406a4 100644
|
| --- a/pkg/compiler/lib/src/ssa/switch_continue_analysis.dart
|
| +++ b/pkg/compiler/lib/src/ssa/switch_continue_analysis.dart
|
| @@ -57,12 +57,8 @@ class SwitchContinueAnalysis extends ir.Visitor<bool> {
|
| }
|
|
|
| bool visitIfStatement(ir.IfStatement ifStatement) {
|
| - if (ifStatement.then.accept(this)) {
|
| - if (ifStatement.otherwise != null) {
|
| - return ifStatement.otherwise.accept(this);
|
| - }
|
| - }
|
| - return false;
|
| + return ifStatement.then.accept(this) ||
|
| + (ifStatement.otherwise != null && ifStatement.otherwise.accept(this));
|
| }
|
|
|
| bool visitTryCatch(ir.TryCatch tryCatch) {
|
|
|