Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(26)

Side by Side Diff: pkg/compiler/lib/src/common/backend_api.dart

Issue 2558763003: Move hasRuntimeTypeSupport, hasIsolateSupport, and hasFunctionApplySupport to JavaScriptBackend. (Closed)
Patch Set: Updated cf. comment Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | pkg/compiler/lib/src/common/names.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 /// [recentClasses], but every class seen by the [enqueuer] will be present in 307 /// [recentClasses], but every class seen by the [enqueuer] will be present in
308 /// [recentClasses] at least once. 308 /// [recentClasses] at least once.
309 bool onQueueEmpty(Enqueuer enqueuer, Iterable<ClassEntity> recentClasses) { 309 bool onQueueEmpty(Enqueuer enqueuer, Iterable<ClassEntity> recentClasses) {
310 return true; 310 return true;
311 } 311 }
312 312
313 /// Called after the queue is closed. [onQueueEmpty] may be called multiple 313 /// Called after the queue is closed. [onQueueEmpty] may be called multiple
314 /// times, but [onQueueClosed] is only called once. 314 /// times, but [onQueueClosed] is only called once.
315 void onQueueClosed() {} 315 void onQueueClosed() {}
316 316
317 /// Called when the compiler starts running the codegen enqueuer. 317 /// Called when the compiler starts running the codegen enqueuer. The
318 void onCodegenStart() {} 318 /// [WorldImpact] of enabled backend features is returned.
319 WorldImpact onCodegenStart() => const WorldImpact();
319 320
320 // Does this element belong in the output 321 // Does this element belong in the output
321 bool shouldOutput(Element element) => true; 322 bool shouldOutput(Element element) => true;
322 323
323 FunctionElement helperForBadMain() => null; 324 FunctionElement helperForBadMain() => null;
324 325
325 FunctionElement helperForMissingMain() => null; 326 FunctionElement helperForMissingMain() => null;
326 327
327 FunctionElement helperForMainArity() => null; 328 FunctionElement helperForMainArity() => null;
328 329
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
412 ClassElement get typeImplementation; 413 ClassElement get typeImplementation;
413 ClassElement get boolImplementation; 414 ClassElement get boolImplementation;
414 ClassElement get nullImplementation; 415 ClassElement get nullImplementation;
415 ClassElement get uint32Implementation; 416 ClassElement get uint32Implementation;
416 ClassElement get uint31Implementation; 417 ClassElement get uint31Implementation;
417 ClassElement get positiveIntImplementation; 418 ClassElement get positiveIntImplementation;
418 ClassElement get syncStarIterableImplementation; 419 ClassElement get syncStarIterableImplementation;
419 ClassElement get asyncFutureImplementation; 420 ClassElement get asyncFutureImplementation;
420 ClassElement get asyncStarStreamImplementation; 421 ClassElement get asyncStarStreamImplementation;
421 } 422 }
OLDNEW
« no previous file with comments | « no previous file | pkg/compiler/lib/src/common/names.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698