Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(288)

Unified Diff: tests/compiler/dart2js/equivalence/check_helpers.dart

Issue 2933363003: Add ClosureRepresentationInfo, the new public face of ClosureClassMap (Closed)
Patch Set: . Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tests/compiler/dart2js/equivalence/check_helpers.dart
diff --git a/tests/compiler/dart2js/equivalence/check_helpers.dart b/tests/compiler/dart2js/equivalence/check_helpers.dart
index c7fff7e4252873cb67fd53ad5440741c2936493b..1b94dcfbeaa3df3bd2890bf06aef6ec231ab70e3 100644
--- a/tests/compiler/dart2js/equivalence/check_helpers.dart
+++ b/tests/compiler/dart2js/equivalence/check_helpers.dart
@@ -8,7 +8,6 @@ library dart2js.equivalence.helpers;
import 'package:compiler/src/constants/expressions.dart';
import 'package:compiler/src/constants/values.dart';
-import 'package:compiler/src/elements/elements.dart';
import 'package:compiler/src/elements/entities.dart';
import 'package:compiler/src/elements/resolution_types.dart';
import 'package:compiler/src/elements/types.dart';
@@ -249,7 +248,7 @@ bool checkMapEquivalence(var object1, var object2, String property, Map map1,
///
/// Uses [object1], [object2] and [property] to provide context for failures.
bool checkElementIdentities(Object object1, Object object2, String property,
- Element element1, Element element2) {
+ Entity element1, Entity element2) {
if (identical(element1, element2)) return true;
return check(
object1, object2, property, element1, element2, areElementsEquivalent);
@@ -260,7 +259,7 @@ bool checkElementIdentities(Object object1, Object object2, String property,
///
/// Uses [object1], [object2] and [property] to provide context for failures.
bool checkElementListIdentities(Object object1, Object object2, String property,
- Iterable<Element> list1, Iterable<Element> list2) {
+ Iterable<Entity> list1, Iterable<Entity> list2) {
return checkListEquivalence(
object1, object2, property, list1, list2, checkElementIdentities);
}

Powered by Google App Engine
This is Rietveld 408576698