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

Unified Diff: pkg/compiler/lib/src/js_backend/backend.dart

Issue 2735763002: Create ResolutionEnqueuer after library loading. (Closed)
Patch Set: Updated cf. comments. Created 3 years, 9 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/compiler/lib/src/enqueue.dart ('k') | pkg/compiler/lib/src/js_backend/backend_helpers.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/js_backend/backend.dart
diff --git a/pkg/compiler/lib/src/js_backend/backend.dart b/pkg/compiler/lib/src/js_backend/backend.dart
index be709f53ef62a823ed779c33bc2f6ada50247ca2..9afc4a31eb1942eb6eed83dd59de6e6d8c8f9738 100644
--- a/pkg/compiler/lib/src/js_backend/backend.dart
+++ b/pkg/compiler/lib/src/js_backend/backend.dart
@@ -831,6 +831,14 @@ class JavaScriptBackend {
}
}
+ void onResolutionStart(ResolutionEnqueuer enqueuer) {
+ helpers.onResolutionStart();
+
+ validateInterceptorImplementsAllObjectMethods(helpers.jsInterceptorClass);
+ // The null-interceptor must also implement *all* methods.
+ validateInterceptorImplementsAllObjectMethods(helpers.jsNullClass);
+ }
+
void onResolutionComplete(
ClosedWorld closedWorld, ClosedWorldRefiner closedWorldRefiner) {
for (Entity entity in compiler.enqueuer.resolution.processedEntities) {
@@ -1177,10 +1185,6 @@ class JavaScriptBackend {
..add(helpers.jsInterceptorClass)
..add(helpers.jsNullClass);
- validateInterceptorImplementsAllObjectMethods(helpers.jsInterceptorClass);
- // The null-interceptor must also implement *all* methods.
- validateInterceptorImplementsAllObjectMethods(helpers.jsNullClass);
-
return new Future.value();
}
« no previous file with comments | « pkg/compiler/lib/src/enqueue.dart ('k') | pkg/compiler/lib/src/js_backend/backend_helpers.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698