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

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

Issue 2852603003: Move JsInteropAnalysis.onQueueClosed to AnnotationProcessor.processJsInteropAnnotation (Closed)
Patch Set: Register anonymous classes correctly + add test Created 3 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/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 598763a62eb216e4565bcf181a98c8af5a69effc..b69f3b91e61d774761b0f1d59d24707d48dd5e6f 100644
--- a/pkg/compiler/lib/src/js_backend/backend.dart
+++ b/pkg/compiler/lib/src/js_backend/backend.dart
@@ -761,6 +761,8 @@ class JavaScriptBackend {
/// Called when the resolution queue has been closed.
void onResolutionEnd() {
+ compiler.frontEndStrategy.annotationProcesser
+ .processJsInteropAnnotations(nativeBasicData, nativeDataBuilder);
_backendUsage = backendUsageBuilder.close();
_interceptorData = interceptorDataBuilder.onResolutionComplete();
}
@@ -1113,12 +1115,6 @@ class JavaScriptBackend {
}
}
- /// Called after the queue is closed. [onQueueEmpty] may be called multiple
- /// times, but [onQueueClosed] is only called once.
- void onQueueClosed() {
- jsInteropAnalysis.onQueueClosed();
- }
-
// TODO(johnniwinther): Create a CodegenPhase object for the backend to hold
// data only available during code generation.
ClosedWorld _closedWorldCache;
« no previous file with comments | « pkg/compiler/lib/src/frontend_strategy.dart ('k') | pkg/compiler/lib/src/js_backend/js_interop_analysis.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698