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

Unified Diff: pkg/fletchc/lib/src/fletch_registry.dart

Issue 1450393002: Roll sdk dependency to 34357cdad108dcba734949bd13bd28c76ea285e0 (Closed) Base URL: git@github.com:dart-lang/fletch.git@master
Patch Set: Address ahe's review Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/fletchc/lib/src/fletch_enqueuer.dart ('k') | pkg/fletchc/lib/src/fletch_system_builder.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/fletchc/lib/src/fletch_registry.dart
diff --git a/pkg/fletchc/lib/src/fletch_registry.dart b/pkg/fletchc/lib/src/fletch_registry.dart
index fc9ecd7e0188a36dbe209ddc9a962da20b289ac9..2eaec1b605f7a66df06bb1b5d130ef438b55c41b 100644
--- a/pkg/fletchc/lib/src/fletch_registry.dart
+++ b/pkg/fletchc/lib/src/fletch_registry.dart
@@ -4,22 +4,9 @@
library fletchc.fletch_codegen_registry;
-import 'package:compiler/src/compiler.dart' show
- GlobalDependencyRegistry;
-
-import 'package:compiler/src/common/codegen.dart' show
- CodegenRegistry;
-
-import 'package:compiler/src/common/registry.dart' show
- Registry;
-
import 'package:compiler/src/universe/selector.dart' show
Selector;
-import 'package:compiler/src/universe/use.dart' show
- DynamicUse,
- StaticUse;
-
import 'package:compiler/src/elements/elements.dart' show
ClassElement,
Element,
@@ -79,17 +66,17 @@ class FletchRegistry {
FletchRegistry(FletchCompilerImplementation compiler)
: world = compiler.enqueuer.codegen;
- void registerStaticUse(StaticUse staticUse) {
+ void registerStaticInvocation(FunctionElement function) {
// TODO(ahe): Call a different method.
- world.registerStaticUse(staticUse);
+ world.registerStaticInvocation(function);
}
void registerInstantiatedClass(ClassElement element) {
world.registerInstantiatedType(element.rawType);
}
- void registerDynamicUse(Selector selector) {
- world.registerDynamicUse(new DynamicUse(selector, null));
+ void registerDynamicSelector(Selector selector) {
+ world.registerDynamicSelector(selector);
}
void registerInstantiatedType(InterfaceType type) {
« no previous file with comments | « pkg/fletchc/lib/src/fletch_enqueuer.dart ('k') | pkg/fletchc/lib/src/fletch_system_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698