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

Unified Diff: pkg/compiler/lib/src/js_backend/interceptor_data.dart

Issue 2873113004: Add equivalence check of NativeData and InterceptorData (Closed)
Patch Set: Created 3 years, 7 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: pkg/compiler/lib/src/js_backend/interceptor_data.dart
diff --git a/pkg/compiler/lib/src/js_backend/interceptor_data.dart b/pkg/compiler/lib/src/js_backend/interceptor_data.dart
index 7a3d2dec39237347067d2a898a3a1566df0052ee..f22802f750c9796ac74acf3004de470974dc8cde 100644
--- a/pkg/compiler/lib/src/js_backend/interceptor_data.dart
+++ b/pkg/compiler/lib/src/js_backend/interceptor_data.dart
@@ -204,6 +204,12 @@ class InterceptorDataImpl implements InterceptorData {
Iterable<ClassEntity> get interceptedClasses => _interceptedClasses;
+ Map<String, Set<MemberEntity>> get interceptedElementsForTesting =>
+ _interceptedElements;
+
+ Set<ClassEntity> get classesMixedIntoInterceptedClassesForTesting =>
+ _classesMixedIntoInterceptedClasses;
+
bool mayGenerateInstanceofCheck(DartType type, ClosedWorld closedWorld) {
// We can use an instanceof check for raw types that have no subclass that
// is mixed-in or in an implements clause.

Powered by Google App Engine
This is Rietveld 408576698