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

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

Issue 2668233002: Remove code supporting incremental compilation in dart2js (Closed)
Patch Set: Created 3 years, 10 months 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
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 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 318
319 // Does this element belong in the output 319 // Does this element belong in the output
320 bool shouldOutput(Element element) => true; 320 bool shouldOutput(Element element) => true;
321 321
322 FunctionElement helperForBadMain() => null; 322 FunctionElement helperForBadMain() => null;
323 323
324 FunctionElement helperForMissingMain() => null; 324 FunctionElement helperForMissingMain() => null;
325 325
326 FunctionElement helperForMainArity() => null; 326 FunctionElement helperForMainArity() => null;
327 327
328 void forgetElement(Element element) {}
329
330 /// Computes the [WorldImpact] of calling [mainMethod] as the entry point. 328 /// Computes the [WorldImpact] of calling [mainMethod] as the entry point.
331 WorldImpact computeMainImpact(MethodElement mainMethod, 329 WorldImpact computeMainImpact(MethodElement mainMethod,
332 {bool forResolution}) => 330 {bool forResolution}) =>
333 const WorldImpact(); 331 const WorldImpact();
334 332
335 /// Returns the location of the patch-file associated with [libraryName] 333 /// Returns the location of the patch-file associated with [libraryName]
336 /// resolved from [plaformConfigUri]. 334 /// resolved from [plaformConfigUri].
337 /// 335 ///
338 /// Returns null if there is none. 336 /// Returns null if there is none.
339 Uri resolvePatchUri(String libraryName, Uri plaformConfigUri); 337 Uri resolvePatchUri(String libraryName, Uri plaformConfigUri);
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
510 /// Returns `true` if [cls] is an intercepted class. 508 /// Returns `true` if [cls] is an intercepted class.
511 // TODO(johnniwinther): Rename this to `isInterceptedClass`. 509 // TODO(johnniwinther): Rename this to `isInterceptedClass`.
512 bool isInterceptorClass(ClassEntity cls); 510 bool isInterceptorClass(ClassEntity cls);
513 511
514 /// Returns `true` if [cls] is a native class. 512 /// Returns `true` if [cls] is a native class.
515 bool isNativeClass(ClassEntity element); 513 bool isNativeClass(ClassEntity element);
516 514
517 /// Returns `true` if [element] is a native member of a native class. 515 /// Returns `true` if [element] is a native member of a native class.
518 bool isNativeMember(MemberEntity element); 516 bool isNativeMember(MemberEntity element);
519 } 517 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/commandline_options.dart ('k') | pkg/compiler/lib/src/common/resolution.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698