| OLD | NEW |
| 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2017, 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_model.elements; | 5 library dart2js.js_model.elements; |
| 6 | 6 |
| 7 import '../common_elements.dart'; | 7 import '../common_elements.dart'; |
| 8 import '../constants/constant_system.dart'; | 8 import '../constants/constant_system.dart'; |
| 9 import '../constants/values.dart'; | 9 import '../constants/values.dart'; |
| 10 import '../elements/elements.dart'; | 10 import '../elements/elements.dart'; |
| (...skipping 699 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 710 @override | 710 @override |
| 711 bool get isRuntimeTypeUsed => _backendUsage.isRuntimeTypeUsed; | 711 bool get isRuntimeTypeUsed => _backendUsage.isRuntimeTypeUsed; |
| 712 | 712 |
| 713 @override | 713 @override |
| 714 bool get isIsolateInUse => _backendUsage.isIsolateInUse; | 714 bool get isIsolateInUse => _backendUsage.isIsolateInUse; |
| 715 | 715 |
| 716 @override | 716 @override |
| 717 bool get isFunctionApplyUsed => _backendUsage.isFunctionApplyUsed; | 717 bool get isFunctionApplyUsed => _backendUsage.isFunctionApplyUsed; |
| 718 | 718 |
| 719 @override | 719 @override |
| 720 bool get isMirrorsUsed => _backendUsage.isMirrorsUsed; |
| 721 |
| 722 @override |
| 720 bool get isNoSuchMethodUsed => _backendUsage.isNoSuchMethodUsed; | 723 bool get isNoSuchMethodUsed => _backendUsage.isNoSuchMethodUsed; |
| 721 } | 724 } |
| 722 | 725 |
| 723 class JsElementEnvironment implements ElementEnvironment { | 726 class JsElementEnvironment implements ElementEnvironment { |
| 724 final JsToFrontendMap _map; | 727 final JsToFrontendMap _map; |
| 725 final ElementEnvironment _elementEnvironment; | 728 final ElementEnvironment _elementEnvironment; |
| 726 | 729 |
| 727 JsElementEnvironment(this._map, this._elementEnvironment); | 730 JsElementEnvironment(this._map, this._elementEnvironment); |
| 728 | 731 |
| 729 @override | 732 @override |
| (...skipping 1128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1858 @override | 1861 @override |
| 1859 ClassEntity get numClass => _map.toBackendClass(_commonElements.numClass); | 1862 ClassEntity get numClass => _map.toBackendClass(_commonElements.numClass); |
| 1860 | 1863 |
| 1861 @override | 1864 @override |
| 1862 ClassEntity get boolClass => _map.toBackendClass(_commonElements.boolClass); | 1865 ClassEntity get boolClass => _map.toBackendClass(_commonElements.boolClass); |
| 1863 | 1866 |
| 1864 @override | 1867 @override |
| 1865 FunctionEntity get throwUnsupportedError => | 1868 FunctionEntity get throwUnsupportedError => |
| 1866 _map.toBackendMember(_commonElements.throwUnsupportedError); | 1869 _map.toBackendMember(_commonElements.throwUnsupportedError); |
| 1867 } | 1870 } |
| OLD | NEW |