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

Unified Diff: pkg/compiler/lib/src/ssa/nodes.dart

Issue 2692303002: Split InterceptorData (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « pkg/compiler/lib/src/ssa/codegen.dart ('k') | pkg/compiler/lib/src/types/constants.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/ssa/nodes.dart
diff --git a/pkg/compiler/lib/src/ssa/nodes.dart b/pkg/compiler/lib/src/ssa/nodes.dart
index 48d1a232104e322fdb4e063f61ee24c0b1c66da4..df84debec05353b06d1ae50f8300a4ca754b6c68 100644
--- a/pkg/compiler/lib/src/ssa/nodes.dart
+++ b/pkg/compiler/lib/src/ssa/nodes.dart
@@ -1728,7 +1728,7 @@ class HFieldGet extends HFieldAccess {
// [HFieldGet].
if (sourceElement is ThisLocal) {
ThisLocal thisLocal = sourceElement;
- return closedWorld.backendClasses
+ return closedWorld.interceptorData
.isInterceptorClass(thisLocal.enclosingClass);
}
return false;
@@ -2374,7 +2374,7 @@ class HThis extends HParameterValue {
bool isCodeMotionInvariant() => true;
bool isInterceptor(ClosedWorld closedWorld) {
- return closedWorld.backendClasses
+ return closedWorld.interceptorData
.isInterceptorClass(sourceElement.enclosingClass);
}
« no previous file with comments | « pkg/compiler/lib/src/ssa/codegen.dart ('k') | pkg/compiler/lib/src/types/constants.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698