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

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

Issue 2239193002: Rerun formatter (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 4 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/cps_ir_builder.dart ('k') | pkg/compiler/lib/src/cps_ir/cps_ir_nodes.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/cps_ir_builder_task.dart
diff --git a/pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart b/pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart
index 80f149d700fb97d6587d4e3cd7691428e0dc6cce..974830150676466dc472ce64dca98ca3613b8693 100644
--- a/pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart
+++ b/pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart
@@ -2745,6 +2745,7 @@ class IrBuilderVisitor extends ast.Visitor<ir.Primitive>
sourceInformationBuilder.buildAssignment(node));
});
}
+
return node.isConditional
? irBuilder.buildIfNotNullSend(
target, nested(helper), sourceInformationBuilder.buildIf(node))
@@ -2775,6 +2776,7 @@ class IrBuilderVisitor extends ast.Visitor<ir.Primitive>
sourceInformationBuilder.buildAssignment(node));
});
}
+
return node.isConditional
? irBuilder.buildIfNotNullSend(
target, nested(helper), sourceInformationBuilder.buildIf(node))
@@ -3342,7 +3344,8 @@ class IrBuilderVisitor extends ast.Visitor<ir.Primitive>
return buildIsolateHelperInvocation(
helpers.currentIsolate, CallStructure.NO_ARGS);
- getStaticState: case 'JS_GET_STATIC_STATE':
+ getStaticState:
+ case 'JS_GET_STATIC_STATE':
validateArgumentCount(exactly: 0);
return irBuilder.buildForeignCode(
@@ -3923,10 +3926,12 @@ class TryBoxedVariables extends ast.Visitor {
tryNestingStack.add(info);
return info;
}
+
void leaveTryFor(TryStatementInfo info) {
assert(tryNestingStack.last == info);
tryNestingStack.removeLast();
}
+
bool hasCatch = !node.catchBlocks.isEmpty;
bool hasFinally = node.finallyBlock != null;
TryStatementInfo catchInfo, finallyInfo;
« no previous file with comments | « pkg/compiler/lib/src/cps_ir/cps_ir_builder.dart ('k') | pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698