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

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

Issue 10879007: Fix issue 4639 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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 | « lib/compiler/implementation/ssa/codegen.dart ('k') | tests/compiler/dart2js_extra/regress/4639_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/ssa/nodes.dart
diff --git a/lib/compiler/implementation/ssa/nodes.dart b/lib/compiler/implementation/ssa/nodes.dart
index 9c51bb7095ec4c58b9b088e51e4e9e1212133e4a..57827cd6308ede8189374692ed557e396b42f5a4 100644
--- a/lib/compiler/implementation/ssa/nodes.dart
+++ b/lib/compiler/implementation/ssa/nodes.dart
@@ -1255,6 +1255,7 @@ class HInvokeDynamicSetter extends HInvokeDynamicField {
}
class HInvokeStatic extends HInvoke {
+ static final int INVOKE_INTERCEPTOR_TYPECODE = 4;
static final int INVOKE_STATIC_TYPECODE = 30;
/** The first input must be the target. */
@@ -1353,7 +1354,7 @@ class HInvokeInterceptor extends HInvokeStatic {
}
}
- int typeCode() => 4;
+ int typeCode() => HInvokeStatic.INVOKE_INTERCEPTOR_TYPECODE;
bool typeEquals(other) => other is HInvokeInterceptor;
bool dataEquals(HInvokeInterceptor other) {
return getter == other.getter && name == other.name;
« no previous file with comments | « lib/compiler/implementation/ssa/codegen.dart ('k') | tests/compiler/dart2js_extra/regress/4639_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698