| Index: pkg/compiler/lib/src/cps_ir/redundant_join.dart
|
| diff --git a/pkg/compiler/lib/src/cps_ir/redundant_join.dart b/pkg/compiler/lib/src/cps_ir/redundant_join.dart
|
| index 59cac2600750449a63c1ca2cba00b6fa17ec4300..3ba1d617635213dae487f114d0f207949ef0eec3 100644
|
| --- a/pkg/compiler/lib/src/cps_ir/redundant_join.dart
|
| +++ b/pkg/compiler/lib/src/cps_ir/redundant_join.dart
|
| @@ -20,7 +20,7 @@ import 'optimizers.dart';
|
| /// meaningless during this pass, until repaired by [AlphaRenamer] at
|
| /// the end.
|
| class RedundantJoinEliminator extends TrampolineRecursiveVisitor
|
| - implements Pass {
|
| + implements Pass {
|
| String get passName => 'Redundant join elimination';
|
|
|
| final Set<Branch> workSet = new Set<Branch>();
|
| @@ -110,7 +110,7 @@ class RedundantJoinEliminator extends TrampolineRecursiveVisitor
|
| // replacing a boolean variable with a labeled break.
|
| // TODO(asgerf): The labeled break might be better? Evaluate.
|
| if (!(trueHits == 1 && !trueCall.isEscapingTry ||
|
| - falseHits == 1 && !falseCall.isEscapingTry)) {
|
| + falseHits == 1 && !falseCall.isEscapingTry)) {
|
| return;
|
| }
|
|
|
| @@ -140,8 +140,8 @@ class RedundantJoinEliminator extends TrampolineRecursiveVisitor
|
| Expression use = ref.parent;
|
| if (use is InvokeContinuation) {
|
| for (Parameter param in branchCont.parameters) {
|
| - use.argumentRefs.add(
|
| - new Reference<Primitive>(param)..parent = use);
|
| + use.argumentRefs
|
| + .add(new Reference<Primitive>(param)..parent = use);
|
| }
|
| } else {
|
| // The branch will be eliminated, so don't worry about updating it.
|
|
|