Index: pkg/compiler/lib/src/compiler.dart |
diff --git a/pkg/compiler/lib/src/compiler.dart b/pkg/compiler/lib/src/compiler.dart |
index 7dbee2a872b7b85acd659fb9aa7eb053679a8f22..b2bdd0516ff4f64a94cb1bf1801e772906b18763 100644 |
--- a/pkg/compiler/lib/src/compiler.dart |
+++ b/pkg/compiler/lib/src/compiler.dart |
@@ -1934,9 +1934,6 @@ class _CompilerResolution implements Resolution { |
message: "Element $element must be the declaration.")); |
assert(invariant(element, hasResolvedAst(element), |
message: "ResolvedAst not available for $element.")); |
- if (compiler.serialization.isDeserialized(element)) { |
- return compiler.serialization.getResolvedAst(element); |
- } |
return element.resolvedAst; |
} |