| Index: pkg/compiler/lib/src/dart_backend/backend.dart
|
| diff --git a/pkg/compiler/lib/src/dart_backend/backend.dart b/pkg/compiler/lib/src/dart_backend/backend.dart
|
| index 717d7a7dadce89071d63253c94cf0301a178702a..a82dcbec580322f0e496564290b95032b6709a24 100644
|
| --- a/pkg/compiler/lib/src/dart_backend/backend.dart
|
| +++ b/pkg/compiler/lib/src/dart_backend/backend.dart
|
| @@ -150,9 +150,6 @@ class DartBackend extends Backend {
|
| }
|
|
|
| int assembleProgram() {
|
| - ElementAstCreationContext context =
|
| - new _ElementAstCreationContext(compiler, constantSystem);
|
| -
|
| ElementAst computeElementAst(AstElement element) {
|
| return new ElementAst(element.resolvedAst.node,
|
| element.resolvedAst.elements);
|
| @@ -513,20 +510,3 @@ class DartConstantTask extends ConstantCompilerTask
|
| task.constantCompiler.constantValueMap);
|
| }
|
| }
|
| -
|
| -abstract class ElementAstCreationContext {
|
| - DartTypes get dartTypes;
|
| - ConstantSystem get constantSystem;
|
| - InternalErrorFunction get internalError;
|
| -}
|
| -
|
| -class _ElementAstCreationContext implements ElementAstCreationContext {
|
| - final Compiler compiler;
|
| - final ConstantSystem constantSystem;
|
| -
|
| - _ElementAstCreationContext(this.compiler, this.constantSystem);
|
| -
|
| - DartTypes get dartTypes => compiler.types;
|
| -
|
| - InternalErrorFunction get internalError => compiler.internalError;
|
| -}
|
|
|