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

Unified Diff: sdk/lib/_internal/compiler/implementation/ssa/nodes.dart

Issue 11308169: GVN getInterceptor and use the interceptor constant when the type is known. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 1 month 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: sdk/lib/_internal/compiler/implementation/ssa/nodes.dart
===================================================================
--- sdk/lib/_internal/compiler/implementation/ssa/nodes.dart (revision 15265)
+++ sdk/lib/_internal/compiler/implementation/ssa/nodes.dart (working copy)
@@ -2405,9 +2405,11 @@
void prepareGvn(HTypeMap types) {
clearAllSideEffects();
+ setUseGvn();
}
int typeCode() => HInstruction.INTERCEPTOR_TYPECODE;
+ bool typeEquals(other) => other is HInterceptor;
}
/** An [HLazyStatic] is a static that is initialized lazily at first read. */

Powered by Google App Engine
This is Rietveld 408576698