| Index: pkg/compiler/lib/src/cps_ir/redundant_phi.dart
|
| diff --git a/pkg/compiler/lib/src/cps_ir/redundant_phi.dart b/pkg/compiler/lib/src/cps_ir/redundant_phi.dart
|
| index b612d135ae5621ebf4cb4ab1886cbc0d567b7a8a..96e6431e950c0f72a5993f2516fc445e57a85067 100644
|
| --- a/pkg/compiler/lib/src/cps_ir/redundant_phi.dart
|
| +++ b/pkg/compiler/lib/src/cps_ir/redundant_phi.dart
|
| @@ -15,7 +15,8 @@ import 'optimizers.dart';
|
| /// (except for feedback). Redundant parameters are removed from the
|
| /// continuation signature, all invocations, and replaced within the
|
| /// continuation body.
|
| -class RedundantPhiEliminator extends TrampolineRecursiveVisitor implements Pass {
|
| +class RedundantPhiEliminator extends TrampolineRecursiveVisitor
|
| + implements Pass {
|
| String get passName => 'Redundant phi elimination';
|
|
|
| final Set<Continuation> workSet = new Set<Continuation>();
|
| @@ -122,8 +123,8 @@ class RedundantPhiEliminator extends TrampolineRecursiveVisitor implements Pass
|
| // Add continuations of about-to-be modified invokes to worklist since
|
| // we might introduce new optimization opportunities.
|
| for (Reference ref = oldDefinition.firstRef;
|
| - ref != null;
|
| - ref = ref.next) {
|
| + ref != null;
|
| + ref = ref.next) {
|
| Node parent = ref.parent;
|
| if (parent is InvokeContinuation) {
|
| Continuation thatCont = parent.continuation;
|
|
|