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

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

Issue 2970943002: Use index in J/KTypeVariable and fix remaining inequivalence (Closed)
Patch Set: Fix Created 3 years, 5 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/common_elements.dart ('k') | pkg/compiler/lib/src/js_model/elements.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/js_backend/backend.dart
diff --git a/pkg/compiler/lib/src/js_backend/backend.dart b/pkg/compiler/lib/src/js_backend/backend.dart
index bdffc10ac89d597061aee850fe20311f7429ae4b..aa761c550cb717dcdfad4d91a41bbe27ae6728cf 100644
--- a/pkg/compiler/lib/src/js_backend/backend.dart
+++ b/pkg/compiler/lib/src/js_backend/backend.dart
@@ -686,10 +686,6 @@ class JavaScriptBackend {
!mirrorsData.invokedReflectively(method);
}
- bool operatorEqHandlesNullArgument(FunctionEntity operatorEqfunction) {
- return specialOperatorEqClasses.contains(operatorEqfunction.enclosingClass);
- }
-
void validateInterceptorImplementsAllObjectMethods(
ClassEntity interceptorClass) {
if (interceptorClass == null) return;
@@ -1055,11 +1051,6 @@ class JavaScriptBackend {
// These methods are overwritten with generated versions.
inlineCache.markAsNonInlinable(commonElements.getInterceptorMethod,
insideLoop: true);
-
- specialOperatorEqClasses
- ..add(commonElements.objectClass)
- ..add(commonElements.jsInterceptorClass)
- ..add(commonElements.jsNullClass);
}
}
« no previous file with comments | « pkg/compiler/lib/src/common_elements.dart ('k') | pkg/compiler/lib/src/js_model/elements.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698