| Index: pkg/compiler/lib/src/js_backend/backend_impact.dart
|
| diff --git a/pkg/compiler/lib/src/js_backend/backend_impact.dart b/pkg/compiler/lib/src/js_backend/backend_impact.dart
|
| index bd6783fb24fc5c2116b6c3c94cb4ecee310ada96..9a9a0d1a429d4c6531ad465377e25b654f23735d 100644
|
| --- a/pkg/compiler/lib/src/js_backend/backend_impact.dart
|
| +++ b/pkg/compiler/lib/src/js_backend/backend_impact.dart
|
| @@ -5,7 +5,7 @@
|
| library dart2js.js_helpers.impact;
|
|
|
| import '../compiler.dart' show Compiler;
|
| -import '../core_types.dart' show CoreClasses;
|
| +import '../core_types.dart' show CommonElements;
|
| import '../dart_types.dart' show InterfaceType;
|
| import '../elements/elements.dart' show ClassElement, Element;
|
| import 'backend_helpers.dart';
|
| @@ -36,7 +36,7 @@ class BackendImpacts {
|
|
|
| BackendHelpers get helpers => backend.helpers;
|
|
|
| - CoreClasses get coreClasses => compiler.coreClasses;
|
| + CommonElements get commonElements => compiler.commonElements;
|
|
|
| BackendImpact _getRuntimeTypeArgument;
|
|
|
| @@ -300,8 +300,8 @@ class BackendImpacts {
|
| BackendImpact get constSymbol {
|
| if (_constSymbol == null) {
|
| _constSymbol = new BackendImpact(
|
| - instantiatedClasses: [coreClasses.symbolClass],
|
| - staticUses: [compiler.symbolConstructor.declaration]);
|
| + instantiatedClasses: [commonElements.symbolClass],
|
| + staticUses: [commonElements.symbolConstructor.declaration]);
|
| }
|
| return _constSymbol;
|
| }
|
| @@ -598,8 +598,8 @@ class BackendImpacts {
|
|
|
| BackendImpact get closure {
|
| if (_closure == null) {
|
| - _closure =
|
| - new BackendImpact(instantiatedClasses: [coreClasses.functionClass]);
|
| + _closure = new BackendImpact(
|
| + instantiatedClasses: [commonElements.functionClass]);
|
| }
|
| return _closure;
|
| }
|
|
|