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