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

Side by Side Diff: pkg/compiler/lib/src/cps_ir/cps_ir_tracer.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 unified diff | Download patch
« no previous file with comments | « pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart ('k') | pkg/compiler/lib/src/cps_ir/inline.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library dart2js.ir_tracer; 5 library dart2js.ir_tracer;
6 6
7 import 'dart:async' show EventSink; 7 import 'dart:async' show EventSink;
8 8
9 import '../tracer.dart'; 9 import '../tracer.dart';
10 import 'cps_ir_nodes.dart' as cps_ir; 10 import 'cps_ir_nodes.dart' as cps_ir;
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 tag("states", () { 76 tag("states", () {
77 tag("locals", () { 77 tag("locals", () {
78 printProperty("size", 0); 78 printProperty("size", 0);
79 printProperty("method", "None"); 79 printProperty("method", "None");
80 }); 80 });
81 }); 81 });
82 tag("HIR", () { 82 tag("HIR", () {
83 String formatParameter(cps_ir.Parameter param) { 83 String formatParameter(cps_ir.Parameter param) {
84 return '${names.name(param)} ${param.type}'; 84 return '${names.name(param)} ${param.type}';
85 } 85 }
86
86 if (entryPoint != null) { 87 if (entryPoint != null) {
87 String thisParam = entryPoint.receiverParameter != null 88 String thisParam = entryPoint.receiverParameter != null
88 ? formatParameter(entryPoint.receiverParameter) 89 ? formatParameter(entryPoint.receiverParameter)
89 : 'no receiver'; 90 : 'no receiver';
90 String interceptorParam = entryPoint.interceptorParameter != null 91 String interceptorParam = entryPoint.interceptorParameter != null
91 ? formatParameter(entryPoint.interceptorParameter) 92 ? formatParameter(entryPoint.interceptorParameter)
92 : 'no interceptor'; 93 : 'no interceptor';
93 String params = entryPoint.parameters.map(formatParameter).join(', '); 94 String params = entryPoint.parameters.map(formatParameter).join(', ');
94 printStmt('x0', 'Entry ($interceptorParam) ($thisParam) ($params)'); 95 printStmt('x0', 'Entry ($interceptorParam) ($thisParam) ($params)');
95 } 96 }
(...skipping 579 matching lines...) Expand 10 before | Expand all | Expand 10 after
675 } 676 }
676 677
677 visitBoundsCheck(cps_ir.BoundsCheck node) { 678 visitBoundsCheck(cps_ir.BoundsCheck node) {
678 unexpectedNode(node); 679 unexpectedNode(node);
679 } 680 }
680 681
681 visitReceiverCheck(cps_ir.ReceiverCheck node) { 682 visitReceiverCheck(cps_ir.ReceiverCheck node) {
682 unexpectedNode(node); 683 unexpectedNode(node);
683 } 684 }
684 } 685 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart ('k') | pkg/compiler/lib/src/cps_ir/inline.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698