Index: tests/compiler/dart2js/equivalence/check_functions.dart |
diff --git a/tests/compiler/dart2js/equivalence/check_functions.dart b/tests/compiler/dart2js/equivalence/check_functions.dart |
index 658c747f2f033bc266b8040124033aa2d456dd15..ad8f1f1d96e42349cf731c0678a9010c5b9762a0 100644 |
--- a/tests/compiler/dart2js/equivalence/check_functions.dart |
+++ b/tests/compiler/dart2js/equivalence/check_functions.dart |
@@ -624,12 +624,14 @@ bool areAbstractUsagesEquivalent(AbstractUsage usage1, AbstractUsage usage2) { |
return usage1.hasSameUsage(usage2); |
} |
+bool _areEntitiesEquivalent(a, b) => areElementsEquivalent(a, b); |
+ |
void checkResolutionEnqueuers( |
BackendUsage backendUsage1, |
BackendUsage backendUsage2, |
ResolutionEnqueuer enqueuer1, |
ResolutionEnqueuer enqueuer2, |
- {bool elementEquivalence(Entity a, Entity b): areElementsEquivalent, |
+ {bool elementEquivalence(Entity a, Entity b): _areEntitiesEquivalent, |
bool typeEquivalence(DartType a, DartType b): areTypesEquivalent, |
bool elementFilter(Element element), |
bool verbose: false, |
@@ -720,7 +722,7 @@ void checkResolutionEnqueuers( |
} |
void checkCodegenEnqueuers(CodegenEnqueuer enqueuer1, CodegenEnqueuer enqueuer2, |
- {bool elementEquivalence(Entity a, Entity b): areElementsEquivalent, |
+ {bool elementEquivalence(Entity a, Entity b): _areEntitiesEquivalent, |
bool typeEquivalence(DartType a, DartType b): areTypesEquivalent, |
bool elementFilter(Element element), |
bool verbose: false}) { |