| OLD | NEW |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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.js_backend.helpers; | 5 library dart2js.js_backend.helpers; |
| 6 | 6 |
| 7 import '../common.dart'; | 7 import '../common.dart'; |
| 8 import '../common/names.dart' show Identifiers, Uris; | 8 import '../common/names.dart' show Identifiers, Uris; |
| 9 import '../common/resolution.dart' show Resolution; | 9 import '../common/resolution.dart' show Resolution; |
| 10 import '../compiler.dart' show Compiler; | 10 import '../compiler.dart' show Compiler; |
| (...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 481 } | 481 } |
| 482 | 482 |
| 483 Element get getRuntimeTypeInfo { | 483 Element get getRuntimeTypeInfo { |
| 484 return findHelper('getRuntimeTypeInfo'); | 484 return findHelper('getRuntimeTypeInfo'); |
| 485 } | 485 } |
| 486 | 486 |
| 487 Element get getTypeArgumentByIndex { | 487 Element get getTypeArgumentByIndex { |
| 488 return findHelper('getTypeArgumentByIndex'); | 488 return findHelper('getTypeArgumentByIndex'); |
| 489 } | 489 } |
| 490 | 490 |
| 491 Element get copyTypeArguments { | |
| 492 return findHelper('copyTypeArguments'); | |
| 493 } | |
| 494 | |
| 495 Element get computeSignature { | 491 Element get computeSignature { |
| 496 return findHelper('computeSignature'); | 492 return findHelper('computeSignature'); |
| 497 } | 493 } |
| 498 | 494 |
| 499 Element get getRuntimeTypeArguments { | 495 Element get getRuntimeTypeArguments { |
| 500 return findHelper('getRuntimeTypeArguments'); | 496 return findHelper('getRuntimeTypeArguments'); |
| 501 } | 497 } |
| 502 | 498 |
| 503 Element get getRuntimeTypeArgument { | 499 Element get getRuntimeTypeArgument { |
| 504 return findHelper('getRuntimeTypeArgument'); | 500 return findHelper('getRuntimeTypeArgument'); |
| (...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 706 MethodElement _objectNoSuchMethod; | 702 MethodElement _objectNoSuchMethod; |
| 707 | 703 |
| 708 MethodElement get objectNoSuchMethod { | 704 MethodElement get objectNoSuchMethod { |
| 709 if (_objectNoSuchMethod == null) { | 705 if (_objectNoSuchMethod == null) { |
| 710 _objectNoSuchMethod = | 706 _objectNoSuchMethod = |
| 711 coreClasses.objectClass.lookupLocalMember(Identifiers.noSuchMethod_); | 707 coreClasses.objectClass.lookupLocalMember(Identifiers.noSuchMethod_); |
| 712 } | 708 } |
| 713 return _objectNoSuchMethod; | 709 return _objectNoSuchMethod; |
| 714 } | 710 } |
| 715 } | 711 } |
| OLD | NEW |