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; |