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

Unified Diff: pkg/compiler/lib/src/common/backend_api.dart

Issue 2675103003: Refactor BackendHelpers to be reusageable with KernelWorldBuilder (Closed)
Patch Set: Updated cf. comments 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | pkg/compiler/lib/src/common/resolution.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/common/backend_api.dart
diff --git a/pkg/compiler/lib/src/common/backend_api.dart b/pkg/compiler/lib/src/common/backend_api.dart
index 6aca672e1328329166d066dc51424cdb0bbd9dcd..c0c3d0a5fab4d8e0093232a33b46f80932d8a6b7 100644
--- a/pkg/compiler/lib/src/common/backend_api.dart
+++ b/pkg/compiler/lib/src/common/backend_api.dart
@@ -217,10 +217,6 @@ abstract class Backend extends Target {
{bool forResolution}) =>
const WorldImpact();
- /// This method is called immediately after the [LibraryElement] [library] has
- /// been created.
- void onLibraryCreated(LibraryElement library) {}
-
/// This method is called immediately after the [library] and its parts have
/// been scanned.
Future onLibraryScanned(LibraryElement library, LibraryLoader loader) {
@@ -319,11 +315,11 @@ abstract class Backend extends Target {
// Does this element belong in the output
bool shouldOutput(Element element) => true;
- FunctionElement helperForBadMain() => null;
+ MethodElement helperForBadMain() => null;
- FunctionElement helperForMissingMain() => null;
+ MethodElement helperForMissingMain() => null;
- FunctionElement helperForMainArity() => null;
+ MethodElement helperForMainArity() => null;
/// Computes the [WorldImpact] of calling [mainMethod] as the entry point.
WorldImpact computeMainImpact(MethodElement mainMethod,
« no previous file with comments | « no previous file | pkg/compiler/lib/src/common/resolution.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698