| OLD | NEW |
| 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; |
| 11 import '../util/util.dart' show Setlet; | 11 import '../util/util.dart' show Setlet; |
| 12 | 12 import 'debug.dart' as debug; |
| 13 import 'type_graph_inferrer.dart' show TypeGraphInferrerEngine; | 13 import 'type_graph_inferrer.dart' show TypeGraphInferrerEngine; |
| 14 import 'type_graph_nodes.dart'; | 14 import 'type_graph_nodes.dart'; |
| 15 import 'debug.dart' as debug; | |
| 16 | 15 |
| 17 // A set of selectors we know do not escape the elements inside the | 16 // A set of selectors we know do not escape the elements inside the |
| 18 // list. | 17 // list. |
| 19 Set<String> doesNotEscapeListSet = new Set<String>.from(const <String>[ | 18 Set<String> doesNotEscapeListSet = new Set<String>.from(const <String>[ |
| 20 // From Object. | 19 // From Object. |
| 21 '==', | 20 '==', |
| 22 'hashCode', | 21 'hashCode', |
| 23 'toString', | 22 'toString', |
| 24 'noSuchMethod', | 23 'noSuchMethod', |
| 25 'runtimeType', | 24 'runtimeType', |
| (...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 397 } | 396 } |
| 398 if (isParameterOfListAddingMethod(info.element) || | 397 if (isParameterOfListAddingMethod(info.element) || |
| 399 isParameterOfMapAddingMethod(info.element)) { | 398 isParameterOfMapAddingMethod(info.element)) { |
| 400 // These elements are being handled in | 399 // These elements are being handled in |
| 401 // [visitDynamicCallSiteTypeInformation]. | 400 // [visitDynamicCallSiteTypeInformation]. |
| 402 return; | 401 return; |
| 403 } | 402 } |
| 404 addNewEscapeInformation(info); | 403 addNewEscapeInformation(info); |
| 405 } | 404 } |
| 406 } | 405 } |
| OLD | NEW |