| Index: pkg/compiler/lib/src/serialization/task.dart
|
| diff --git a/pkg/compiler/lib/src/serialization/task.dart b/pkg/compiler/lib/src/serialization/task.dart
|
| index 9f319db39dd63efc7256a09f95a587b3ce71a652..5bfae8b0f77d798fb9f98ac2a003c3101ab80119 100644
|
| --- a/pkg/compiler/lib/src/serialization/task.dart
|
| +++ b/pkg/compiler/lib/src/serialization/task.dart
|
| @@ -8,7 +8,6 @@ import 'dart:async' show EventSink, Future;
|
|
|
| import '../common/resolution.dart' show ResolutionImpact, ResolutionWorkItem;
|
| import '../common/tasks.dart' show CompilerTask;
|
| -import '../common/work.dart' show ItemCompilationContext;
|
| import '../compiler.dart' show Compiler;
|
| import '../elements/elements.dart';
|
| import '../enqueue.dart' show ResolutionEnqueuer;
|
| @@ -71,12 +70,11 @@ class SerializationTask extends CompilerTask implements LibraryDeserializer {
|
| }
|
|
|
| /// Creates the [ResolutionWorkItem] for the deserialized [element].
|
| - ResolutionWorkItem createResolutionWorkItem(
|
| - Element element, ItemCompilationContext context) {
|
| + ResolutionWorkItem createResolutionWorkItem(Element element) {
|
| assert(deserializer != null);
|
| assert(isDeserialized(element));
|
| return new DeserializedResolutionWorkItem(
|
| - element, context, deserializer.computeWorldImpact(element));
|
| + element, deserializer.computeWorldImpact(element));
|
| }
|
|
|
| bool hasResolvedAst(ExecutableElement element) {
|
| @@ -139,12 +137,10 @@ class SerializationTask extends CompilerTask implements LibraryDeserializer {
|
| /// This will not resolve the element but only compute the [WorldImpact].
|
| class DeserializedResolutionWorkItem implements ResolutionWorkItem {
|
| final Element element;
|
| - final ItemCompilationContext compilationContext;
|
| final WorldImpact worldImpact;
|
| bool _isAnalyzed = false;
|
|
|
| - DeserializedResolutionWorkItem(
|
| - this.element, this.compilationContext, this.worldImpact);
|
| + DeserializedResolutionWorkItem(this.element, this.worldImpact);
|
|
|
| @override
|
| bool get isAnalyzed => _isAnalyzed;
|
|
|