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

Unified Diff: pkg/fletchc/lib/incremental_backend.dart

Issue 1659163007: Rename fletch -> dartino (Closed) Base URL: https://github.com/dartino/sdk.git@master
Patch Set: address comments Created 4 years, 11 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 | « pkg/fletchc/lib/incremental/scope_information_visitor.dart ('k') | pkg/fletchc/lib/input_handler.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/fletchc/lib/incremental_backend.dart
diff --git a/pkg/fletchc/lib/incremental_backend.dart b/pkg/fletchc/lib/incremental_backend.dart
deleted file mode 100644
index ae95e23490d4a48591d3fb71df09c0358dbe3427..0000000000000000000000000000000000000000
--- a/pkg/fletchc/lib/incremental_backend.dart
+++ /dev/null
@@ -1,59 +0,0 @@
-// Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE.md file.
-
-library fletchc.incremental_backend;
-
-import 'package:compiler/src/elements/elements.dart' show
- Element,
- FieldElement,
- FunctionElement;
-
-import 'fletch_system.dart' show
- FletchSystem;
-
-import 'src/fletch_system_builder.dart' show
- FletchSystemBuilder;
-
-import 'src/fletch_context.dart' show
- FletchContext;
-
-// TODO(ahe): Move this to dart2js upstream when it's stabilized
-abstract class IncrementalBackend {
-
- /// Remove [element] from the compilation result. Called after resolution and
- /// codegen phase.
- ///
- /// This is different from [Backend.forgetElement] which is about preparing
- /// for a new round of resolution and codegen. `forgetElement` is called
- /// before processing the work queue, this method is called after and the old
- /// version of [element] should be removed.
- void removeFunction(FunctionElement element);
-
- /// Remove [element] from the compilation result. Called after resolution and
- /// codegen phase.
- ///
- /// See [removeFunction] for how this compares to `forgetElement`.
- void removeField(FieldElement element);
-
- /// Register that [element] is now part of the compilation. This happens
- /// during the codegen phase.
- // TODO(ahe): We should probably remove this API, I believe it is an artifact
- // of the incremental compiler not enqueuing fields.
- void newElement(Element element);
-
- /// Update references to [element] in [users].
- // TODO(ahe): Computing [users] is expensive, and may not be necessary in
- // dart2js. Move to IncrementalFletchBackend or add a bool to say if the call
- // is needed.
- void replaceFunctionUsageElement(Element element, List<Element> users);
-}
-
-abstract class IncrementalFletchBackend implements IncrementalBackend {
- FletchSystemBuilder get systemBuilder;
-
- void newSystemBuilder(FletchSystem predecessorSystem);
-
- /// In Fletch, assembleProgram is incremental. In dart2js it isn't.
- int assembleProgram();
-}
« no previous file with comments | « pkg/fletchc/lib/incremental/scope_information_visitor.dart ('k') | pkg/fletchc/lib/input_handler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698