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

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: Created 5 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
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 317efbb4074fcb4d2fa84f81ddea1ec65c7d47c6..e09ee6c372a15314bc3edc84148e3b220255d061 100644
--- a/pkg/compiler/lib/src/resolution/registry.dart
+++ b/pkg/compiler/lib/src/resolution/registry.dart
@@ -274,6 +274,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 registerJsCompilerMacroCall(Node node, ResolverVisitor visitor) {
+ world.registerJsCompilerMacroCall(node, visitor);
+ }
+
void registerGetOfStaticFunction(FunctionElement element) {
world.registerGetOfStaticFunction(element);
}

Powered by Google App Engine
This is Rietveld 408576698