| OLD | NEW |
| 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 compiler.src.inferrer.map_tracer; | 5 library compiler.src.inferrer.map_tracer; |
| 6 | 6 |
| 7 import '../elements/elements.dart'; | 7 import '../elements/elements.dart'; |
| 8 import '../universe/selector.dart' show Selector; | 8 import '../universe/selector.dart' show Selector; |
| 9 | |
| 10 import 'node_tracer.dart'; | 9 import 'node_tracer.dart'; |
| 11 import 'type_graph_nodes.dart'; | 10 import 'type_graph_nodes.dart'; |
| 12 | 11 |
| 13 Set<String> okMapSelectorsSet = new Set.from(const <String>[ | 12 Set<String> okMapSelectorsSet = new Set.from(const <String>[ |
| 14 // From Object. | 13 // From Object. |
| 15 "==", | 14 "==", |
| 16 "hashCode", | 15 "hashCode", |
| 17 "toString", | 16 "toString", |
| 18 "noSuchMethod", | 17 "noSuchMethod", |
| 19 "runtimeType", | 18 "runtimeType", |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 return; | 119 return; |
| 121 } | 120 } |
| 122 } | 121 } |
| 123 } else if (selector.isCall && | 122 } else if (selector.isCall && |
| 124 !info.targets.every((element) => element.isFunction)) { | 123 !info.targets.every((element) => element.isFunction)) { |
| 125 bailout('Passed to a closure'); | 124 bailout('Passed to a closure'); |
| 126 return; | 125 return; |
| 127 } | 126 } |
| 128 } | 127 } |
| 129 } | 128 } |
| OLD | NEW |