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

Unified Diff: sdk/lib/_internal/compiler/implementation/types/type_mask.dart

Issue 23883004: Fix bug http://code.google.com/p/dart/issues/detail?id=12941 by doing speculative optimizations eve… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 3 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
Index: sdk/lib/_internal/compiler/implementation/types/type_mask.dart
===================================================================
--- sdk/lib/_internal/compiler/implementation/types/type_mask.dart (revision 27115)
+++ sdk/lib/_internal/compiler/implementation/types/type_mask.dart (working copy)
@@ -97,10 +97,9 @@
TypeMask intersection(TypeMask other, Compiler compiler);
/**
- * Returns whether a [selector] call will hit a method at runtime,
- * and not go through [noSuchMethod].
+ * Returns whether this [TypeMask] understands [selector].
*/
- bool willHit(Selector selector, Compiler compiler);
+ bool understands(Selector selector, Compiler compiler);
/**
* Returns whether this [TypeMask] applied to [selector] can hit a

Powered by Google App Engine
This is Rietveld 408576698