Index: pkg/compiler/lib/src/serialization/equivalence.dart |
diff --git a/pkg/compiler/lib/src/serialization/equivalence.dart b/pkg/compiler/lib/src/serialization/equivalence.dart |
index a7c08b5b09fa95dafee95b2d4cd5d46c57490695..a1f341c02416191407e997c846affb12e9431567 100644 |
--- a/pkg/compiler/lib/src/serialization/equivalence.dart |
+++ b/pkg/compiler/lib/src/serialization/equivalence.dart |
@@ -1832,12 +1832,3 @@ class NodeEquivalenceVisitor implements Visitor1<bool, Node> { |
throw new UnsupportedError('Unexpected nodes: $node1 <> $node2'); |
} |
} |
- |
-bool areMetadataAnnotationsEquivalent( |
- MetadataAnnotation metadata1, MetadataAnnotation metadata2) { |
- if (metadata1 == metadata2) return true; |
- if (metadata1 == null || metadata2 == null) return false; |
- return areElementsEquivalent( |
- metadata1.annotatedElement, metadata2.annotatedElement) && |
- areConstantsEquivalent(metadata1.constant, metadata2.constant); |
-} |