Index: sdk/lib/_internal/compiler/implementation/ssa/nodes.dart |
=================================================================== |
--- sdk/lib/_internal/compiler/implementation/ssa/nodes.dart (revision 15407) |
+++ sdk/lib/_internal/compiler/implementation/ssa/nodes.dart (working copy) |
@@ -2385,6 +2385,11 @@ |
int typeCode() => HInstruction.INTERCEPTOR_TYPECODE; |
bool typeEquals(other) => other is HInterceptor; |
+ // We treat the data in a [HInterceptor] to always be equal to |
+ // another, even if the [interceptedClasses] set is different. That |
+ // is because we know the first [getInterceptor] call will fetch an |
+ // interceptor of the right kind. |
ahe
2012/11/27 18:29:01
How do you know that?
floitsch
2012/11/27 18:51:38
Because the input is the same.
ahe
2012/11/27 19:03:36
I'm still not sure I understand. Don't worry, I'l
|
+ bool dataEquals(other) => true; |
} |
/** An [HLazyStatic] is a static that is initialized lazily at first read. */ |