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

Unified Diff: pkg/compiler/lib/src/cps_ir/loop_hierarchy.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/loop_hierarchy.dart
diff --git a/pkg/compiler/lib/src/cps_ir/loop_hierarchy.dart b/pkg/compiler/lib/src/cps_ir/loop_hierarchy.dart
index 57d71207a0d9de14c3149cee5dbd5f17e23c37da..35d9b761fb4af039ae279987aee39ac1891bf6d8 100644
--- a/pkg/compiler/lib/src/cps_ir/loop_hierarchy.dart
+++ b/pkg/compiler/lib/src/cps_ir/loop_hierarchy.dart
@@ -123,8 +123,7 @@ class LoopHierarchy {
target = loopTarget[node.continuation];
}
} else if (node is Branch) {
- target = _markInnerLoop(
- loopTarget[node.trueContinuation],
+ target = _markInnerLoop(loopTarget[node.trueContinuation],
loopTarget[node.falseContinuation]);
} else if (node == null) {
// If the code ends abruptly, use the exit loop provided in [update].
@@ -166,8 +165,7 @@ class LoopHierarchy {
/// [catchLoop] is the loop target for the catch clause of the try/catch
/// surrounding the inserted fragment.
void update(CpsFragment fragment,
- {Continuation exitLoop,
- Continuation catchLoop}) {
+ {Continuation exitLoop, Continuation catchLoop}) {
if (fragment.isEmpty) return;
_exitLoop = exitLoop;
_currentDepth = getDepth(exitLoop);
« no previous file with comments | « pkg/compiler/lib/src/cps_ir/loop_effects.dart ('k') | pkg/compiler/lib/src/cps_ir/loop_invariant_branch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698