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

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

Issue 2835323004: Handle @NoInline annotations in closed_world2_test (Closed)
Patch Set: Updated cf. comments 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 9a87a6308b46040b2bc1f7347c30c364822821bc..af753d187d68c7bec872cd1c8b4bb96b63a4cb50 100644
--- a/pkg/compiler/lib/src/js_backend/backend.dart
+++ b/pkg/compiler/lib/src/js_backend/backend.dart
@@ -310,7 +310,7 @@ class JavaScriptBackend {
/// Returns true if the backend supports reflection.
bool get supportsReflection => emitter.supportsReflection;
- final Annotations annotations;
+ final OptimizerHintsForTests annotations;
/// Set of classes that need to be considered for reflection although not
/// otherwise visible during resolution.
@@ -478,7 +478,7 @@ class JavaScriptBackend {
bool useNewSourceInfo: false,
bool useKernel: false})
: _rti = new _RuntimeTypes(compiler),
- annotations = new Annotations(compiler),
+ annotations = new OptimizerHintsForTests(compiler),
this.sourceInformationStrategy = createSourceInformationStrategy(
generateSourceMap: generateSourceMap,
useMultiSourceInfo: useMultiSourceInfo,
@@ -1091,7 +1091,6 @@ class JavaScriptBackend {
} else if (uri == LookupMapResolutionAnalysis.PACKAGE_LOOKUP_MAP) {
lookupMapResolutionAnalysis.init(library);
}
- annotations.onLibraryLoaded(library);
}
/// This method is called when all new libraries loaded through
« no previous file with comments | « pkg/compiler/lib/src/js_backend/annotations.dart ('k') | tests/compiler/dart2js/expect_annotations_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698