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

Side by Side Diff: pkg/compiler/lib/src/inferrer/node_tracer.dart

Issue 2767723003: Fix compiler formatter errors. (Closed)
Patch Set: Created 3 years, 9 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/inferrer/debug.dart ('k') | pkg/compiler/lib/src/js_backend/backend.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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 compiler.src.inferrer.node_tracer; 5 library compiler.src.inferrer.node_tracer;
6 6
7 import '../common/names.dart' show Identifiers; 7 import '../common/names.dart' show Identifiers;
8 import '../compiler.dart' show Compiler; 8 import '../compiler.dart' show Compiler;
9 import '../elements/elements.dart'; 9 import '../elements/elements.dart';
10 import '../types/types.dart' show ContainerTypeMask, MapTypeMask; 10 import '../types/types.dart' show ContainerTypeMask, MapTypeMask;
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 if (predicate(user.element)) { 293 if (predicate(user.element)) {
294 bailout('Reached suppressed parameter without precise receiver'); 294 bailout('Reached suppressed parameter without precise receiver');
295 break; 295 break;
296 } 296 }
297 } 297 }
298 } 298 }
299 } 299 }
300 300
301 void visitDynamicCallSiteTypeInformation( 301 void visitDynamicCallSiteTypeInformation(
302 DynamicCallSiteTypeInformation info) { 302 DynamicCallSiteTypeInformation info) {
303
304 void addsToContainer(ContainerTypeMask mask) { 303 void addsToContainer(ContainerTypeMask mask) {
305 if (mask.allocationNode != null) { 304 if (mask.allocationNode != null) {
306 ListTypeInformation list = 305 ListTypeInformation list =
307 inferrer.types.allocatedLists[mask.allocationNode]; 306 inferrer.types.allocatedLists[mask.allocationNode];
308 listsToAnalyze.add(list); 307 listsToAnalyze.add(list);
309 } else { 308 } else {
310 // The [ContainerTypeMask] is a union of two containers, and we lose 309 // The [ContainerTypeMask] is a union of two containers, and we lose
311 // track of where these containers have been allocated at this point. 310 // track of where these containers have been allocated at this point.
312 bailout('Stored in too many containers'); 311 bailout('Stored in too many containers');
313 } 312 }
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
460 } 459 }
461 if (isParameterOfListAddingMethod(element) || 460 if (isParameterOfListAddingMethod(element) ||
462 isParameterOfMapAddingMethod(element)) { 461 isParameterOfMapAddingMethod(element)) {
463 // These elements are being handled in 462 // These elements are being handled in
464 // [visitDynamicCallSiteTypeInformation]. 463 // [visitDynamicCallSiteTypeInformation].
465 return; 464 return;
466 } 465 }
467 addNewEscapeInformation(info); 466 addNewEscapeInformation(info);
468 } 467 }
469 } 468 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/inferrer/debug.dart ('k') | pkg/compiler/lib/src/js_backend/backend.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698