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

Unified Diff: pkg/compiler/lib/src/js_emitter/program_builder/program_builder.dart

Issue 2823003003: Remove Compiler and JavaScriptBackend from field_visitor. (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_emitter/program_builder/field_visitor.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/js_emitter/program_builder/program_builder.dart
diff --git a/pkg/compiler/lib/src/js_emitter/program_builder/program_builder.dart b/pkg/compiler/lib/src/js_emitter/program_builder/program_builder.dart
index 8188f75ab27149ad674d5f072389bc04d8293583..ca89409eae6d63fb6f85c6d2a740428502109c54 100644
--- a/pkg/compiler/lib/src/js_emitter/program_builder/program_builder.dart
+++ b/pkg/compiler/lib/src/js_emitter/program_builder/program_builder.dart
@@ -551,7 +551,7 @@ class ProgramBuilder {
// if it does not we can suppress it completely.
onlyForRti = true;
}
- bool isClosureBaseClass = element == _compiler.commonElements.closureClass;
+ bool isClosureBaseClass = element == _commonElements.closureClass;
List<Method> methods = [];
List<StubMethod> callStubs = <StubMethod>[];
@@ -917,7 +917,8 @@ class ProgramBuilder {
List<Field> _buildFields(Element holder,
{bool visitStatics, bool isHolderInterceptedClass: false}) {
List<Field> fields = <Field>[];
- new FieldVisitor(_compiler, _namer, _closedWorld)
+ new FieldVisitor(_options, _worldBuilder, _nativeData, _mirrorsData, _namer,
+ _closedWorld)
.visitFields(holder, visitStatics, (FieldElement field,
js.Name name,
js.Name accessorName,
« no previous file with comments | « pkg/compiler/lib/src/js_emitter/program_builder/field_visitor.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698