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

Unified Diff: pkg/compiler/lib/src/resolution/registry.dart

Issue 954253002: dart2js: add compiler builtins to the core-runtime. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Move more foreigns to builtins. Created 5 years, 8 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
Index: pkg/compiler/lib/src/resolution/registry.dart
diff --git a/pkg/compiler/lib/src/resolution/registry.dart b/pkg/compiler/lib/src/resolution/registry.dart
index 8b37559d0bffb36df915917b2bc93cf0e3958d72..2cd989b3ff01557f8583d8f0f2c89afcaa560004 100644
--- a/pkg/compiler/lib/src/resolution/registry.dart
+++ b/pkg/compiler/lib/src/resolution/registry.dart
@@ -279,6 +279,12 @@ class ResolutionRegistry extends Registry {
world.registerJsEmbeddedGlobalCall(node, visitor);
}
+ // TODO(johnniwinther): Remove the [ResolverVisitor] dependency. Its only
+ // needed to lookup types in the current scope.
+ void registerJsBuiltinCall(Node node, ResolverVisitor visitor) {
+ world.registerJsBuiltinCall(node, visitor);
+ }
+
void registerGetOfStaticFunction(FunctionElement element) {
world.registerGetOfStaticFunction(element);
}

Powered by Google App Engine
This is Rietveld 408576698