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

Unified Diff: pkg/compiler/lib/src/types/abstract_value_domain.dart

Issue 1655183002: dart2js cps: Remove interceptors in cases where type propagation fails. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Remove debugging code & rebase Created 4 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/js_backend/codegen/task.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/types/abstract_value_domain.dart
diff --git a/pkg/compiler/lib/src/types/abstract_value_domain.dart b/pkg/compiler/lib/src/types/abstract_value_domain.dart
index 6512c5aa300f8f75149d9d23a68e18d7704e6830..3bf01da1740f0dbdf594a5cb763428ce4fe979fa 100644
--- a/pkg/compiler/lib/src/types/abstract_value_domain.dart
+++ b/pkg/compiler/lib/src/types/abstract_value_domain.dart
@@ -53,7 +53,13 @@ abstract class AbstractValueDomain {
AbstractValue get interceptedTypes;
- bool methodUsesReceiverArgument(FunctionElement function);
+ /// If true, [function] ignores its explicit receiver argument and will use
+ /// its `this` value instead.
+ bool methodIgnoresReceiverArgument(FunctionElement function);
+
+ /// If true, the explicit receiver argument can be ignored when invoking
+ /// [selector] on a value of [type].
+ bool targetIgnoresReceiverArgument(AbstractValue type, Selector selector);
Element locateSingleElement(AbstractValue mask, Selector selector);
« no previous file with comments | « pkg/compiler/lib/src/js_backend/codegen/task.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698