| 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 code_generator_dependencies; | 5 library code_generator_dependencies; |
| 6 | 6 |
| 7 import '../js_backend.dart'; | 7 import '../js_backend.dart'; |
| 8 import '../../dart2jslib.dart'; | 8 import '../../dart2jslib.dart'; |
| 9 import '../../js_emitter/js_emitter.dart'; | 9 import '../../js_emitter/js_emitter.dart'; |
| 10 import '../../js/js.dart' as js; | 10 import '../../js/js.dart' as js; |
| (...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 return _backend.namer.substitutionName(element); | 227 return _backend.namer.substitutionName(element); |
| 228 } | 228 } |
| 229 | 229 |
| 230 bool operatorEqHandlesNullArgument(FunctionElement element) { | 230 bool operatorEqHandlesNullArgument(FunctionElement element) { |
| 231 return _backend.operatorEqHandlesNullArgument(element); | 231 return _backend.operatorEqHandlesNullArgument(element); |
| 232 } | 232 } |
| 233 | 233 |
| 234 bool hasStrictSubtype(ClassElement element) { | 234 bool hasStrictSubtype(ClassElement element) { |
| 235 return _compiler.world.hasAnyStrictSubtype(element); | 235 return _compiler.world.hasAnyStrictSubtype(element); |
| 236 } | 236 } |
| 237 |
| 238 ClassElement get jsExtendableArrayClass => _backend.jsExtendableArrayClass; |
| 239 ClassElement get jsMutableArrayClass => _backend.jsMutableArrayClass; |
| 237 } | 240 } |
| OLD | NEW |