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

Unified Diff: pkg/compiler/lib/src/cps_ir/use_field_initializers.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
« no previous file with comments | « pkg/compiler/lib/src/cps_ir/update_refinements.dart ('k') | pkg/compiler/lib/src/dart2js.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/cps_ir/use_field_initializers.dart
diff --git a/pkg/compiler/lib/src/cps_ir/use_field_initializers.dart b/pkg/compiler/lib/src/cps_ir/use_field_initializers.dart
index e923a2275b920c9bc3ecc2e00142d62754f75700..1b218af9b2700451c132eff531def49bcf904581 100644
--- a/pkg/compiler/lib/src/cps_ir/use_field_initializers.dart
+++ b/pkg/compiler/lib/src/cps_ir/use_field_initializers.dart
@@ -74,21 +74,27 @@ class UseFieldInitializers extends BlockVisitor implements Pass {
void visitContinuation(Continuation node) {
endBasicBlock();
}
+
void visitLetHandler(LetHandler node) {
endBasicBlock();
}
+
void visitInvokeContinuation(InvokeContinuation node) {
endBasicBlock();
}
+
void visitBranch(Branch node) {
endBasicBlock();
}
+
void visitRethrow(Rethrow node) {
endBasicBlock();
}
+
void visitThrow(Throw node) {
endBasicBlock();
}
+
void visitUnreachable(Unreachable node) {
endBasicBlock();
}
@@ -109,7 +115,9 @@ class UseFieldInitializers extends BlockVisitor implements Pass {
void sinkLetConts() {
if (letContSinkTarget != null) {
for (LetCont letCont in letConts.reversed) {
- letCont..remove()..insertBelow(letContSinkTarget);
+ letCont
+ ..remove()
+ ..insertBelow(letContSinkTarget);
}
letContSinkTarget = null;
}
« no previous file with comments | « pkg/compiler/lib/src/cps_ir/update_refinements.dart ('k') | pkg/compiler/lib/src/dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698