| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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.backend_api; | 5 library dart2js.backend_api; |
| 6 | 6 |
| 7 import 'dart:async' show Future; | 7 import 'dart:async' show Future; |
| 8 | 8 |
| 9 import '../common.dart'; | 9 import '../common.dart'; |
| 10 import '../common/codegen.dart' show CodegenImpact; | 10 import '../common/codegen.dart' show CodegenImpact; |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 const WorldImpact(); | 166 const WorldImpact(); |
| 167 | 167 |
| 168 /// Called to register that a member has been closurized. Any backend specific | 168 /// Called to register that a member has been closurized. Any backend specific |
| 169 /// [WorldImpact] of this is returned. | 169 /// [WorldImpact] of this is returned. |
| 170 WorldImpact registerBoundClosure() => const WorldImpact(); | 170 WorldImpact registerBoundClosure() => const WorldImpact(); |
| 171 | 171 |
| 172 /// Called to register that a static function has been closurized. Any backend | 172 /// Called to register that a static function has been closurized. Any backend |
| 173 /// specific [WorldImpact] of this is returned. | 173 /// specific [WorldImpact] of this is returned. |
| 174 WorldImpact registerGetOfStaticFunction() => const WorldImpact(); | 174 WorldImpact registerGetOfStaticFunction() => const WorldImpact(); |
| 175 | 175 |
| 176 /// Called to register that the `runtimeType` property has been accessed. Any | |
| 177 /// backend specific [WorldImpact] of this is returned. | |
| 178 WorldImpact registerRuntimeType() => const WorldImpact(); | |
| 179 | |
| 180 /// Called to register a `noSuchMethod` implementation. | |
| 181 void registerNoSuchMethod(FunctionElement noSuchMethodElement) {} | |
| 182 | |
| 183 /// Called to enable support for `noSuchMethod`. Any backend specific | 176 /// Called to enable support for `noSuchMethod`. Any backend specific |
| 184 /// [WorldImpact] of this is returned. | 177 /// [WorldImpact] of this is returned. |
| 185 WorldImpact enableNoSuchMethod() => const WorldImpact(); | 178 WorldImpact enableNoSuchMethod() => const WorldImpact(); |
| 186 | 179 |
| 187 /// Returns whether or not `noSuchMethod` support has been enabled. | 180 /// Returns whether or not `noSuchMethod` support has been enabled. |
| 188 bool get enabledNoSuchMethod => false; | 181 bool get enabledNoSuchMethod => false; |
| 189 | 182 |
| 190 /// Called to enable support for isolates. Any backend specific [WorldImpact] | 183 /// Called to enable support for isolates. Any backend specific [WorldImpact] |
| 191 /// of this is returned. | 184 /// of this is returned. |
| 192 WorldImpact enableIsolateSupport({bool forResolution}); | 185 WorldImpact enableIsolateSupport({bool forResolution}); |
| (...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 413 ClassElement get typeImplementation; | 406 ClassElement get typeImplementation; |
| 414 ClassElement get boolImplementation; | 407 ClassElement get boolImplementation; |
| 415 ClassElement get nullImplementation; | 408 ClassElement get nullImplementation; |
| 416 ClassElement get uint32Implementation; | 409 ClassElement get uint32Implementation; |
| 417 ClassElement get uint31Implementation; | 410 ClassElement get uint31Implementation; |
| 418 ClassElement get positiveIntImplementation; | 411 ClassElement get positiveIntImplementation; |
| 419 ClassElement get syncStarIterableImplementation; | 412 ClassElement get syncStarIterableImplementation; |
| 420 ClassElement get asyncFutureImplementation; | 413 ClassElement get asyncFutureImplementation; |
| 421 ClassElement get asyncStarStreamImplementation; | 414 ClassElement get asyncStarStreamImplementation; |
| 422 } | 415 } |
| OLD | NEW |