Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(149)

Unified Diff: pkg/compiler/lib/src/cps_ir/redundant_phi.dart

Issue 1859343004: dartfmt pkg/compiler (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
« no previous file with comments | « pkg/compiler/lib/src/cps_ir/redundant_join.dart ('k') | pkg/compiler/lib/src/cps_ir/redundant_refinement.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698