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

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

Issue 2795763005: Revert "Add "load from .dill" file capability and run a white-box test." (Closed)
Patch Set: 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
« no previous file with comments | « pkg/compiler/lib/src/dump_info.dart ('k') | pkg/compiler/lib/src/kernel/world_builder.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/mirrors_analysis.dart
diff --git a/pkg/compiler/lib/src/js_backend/mirrors_analysis.dart b/pkg/compiler/lib/src/js_backend/mirrors_analysis.dart
index 765188f72a6e54cf2255757884de4b7773b65c36..26468e128a9ed80bc1f8dc1e164eb97996f92871 100644
--- a/pkg/compiler/lib/src/js_backend/mirrors_analysis.dart
+++ b/pkg/compiler/lib/src/js_backend/mirrors_analysis.dart
@@ -120,8 +120,7 @@ class MirrorsResolutionAnalysisImpl implements MirrorsResolutionAnalysis {
if (_mirrorsData.mustRetainMetadata) {
_reporter.log('Retaining metadata.');
- (_compiler.libraryLoader.libraries as Iterable<LibraryElement>)
- .forEach(_mirrorsData.retainMetadataOf);
+ _compiler.libraryLoader.libraries.forEach(_mirrorsData.retainMetadataOf);
if (!enqueuer.queueIsClosed) {
/// Register the constant value of [metadata] as live in resolution.
@@ -244,8 +243,7 @@ class MirrorsCodegenAnalysisImpl implements MirrorsCodegenAnalysis {
if (_mirrorsData.mustRetainMetadata) {
_reporter.log('Retaining metadata.');
- (_compiler.libraryLoader.libraries as Iterable<LibraryElement>)
- .forEach(_mirrorsData.retainMetadataOf);
+ _compiler.libraryLoader.libraries.forEach(_mirrorsData.retainMetadataOf);
for (Dependency dependency in _metadataConstants) {
_impactBuilder
« no previous file with comments | « pkg/compiler/lib/src/dump_info.dart ('k') | pkg/compiler/lib/src/kernel/world_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698