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

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

Issue 2836323002: Add more factory methods to FrontEndStrategy. (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/js_backend/backend.dart ('k') | pkg/compiler/lib/src/js_backend/runtime_types.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_data.dart
diff --git a/pkg/compiler/lib/src/js_backend/mirrors_data.dart b/pkg/compiler/lib/src/js_backend/mirrors_data.dart
index 23462e95c514efa3971b4b894329e87e74f9ca0e..10528e24e4a9fc8d781301f8c1749c737f0b0389 100644
--- a/pkg/compiler/lib/src/js_backend/mirrors_data.dart
+++ b/pkg/compiler/lib/src/js_backend/mirrors_data.dart
@@ -207,10 +207,9 @@ class MirrorsDataImpl implements MirrorsData, MirrorsDataBuilder {
final CommonElements _commonElements;
- final JavaScriptConstantCompiler _constants;
+ MirrorsDataImpl(this._compiler, this._options, this._commonElements);
- MirrorsDataImpl(
- this._compiler, this._options, this._commonElements, this._constants);
+ JavaScriptConstantCompiler get _constants => _compiler.backend.constants;
void registerUsedMember(MemberElement member) {
if (member == _commonElements.disableTreeShakingMarker) {
« no previous file with comments | « pkg/compiler/lib/src/js_backend/backend.dart ('k') | pkg/compiler/lib/src/js_backend/runtime_types.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698