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

Unified Diff: sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart

Issue 14636002: Make TypeMask an interface and start hiding implementation details of FlatTypeMask. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 8 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/js_backend/emitter.dart
===================================================================
--- sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart (revision 22167)
+++ sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart (working copy)
@@ -2275,8 +2275,8 @@
if (mask != null) {
// If the mask is empty it doesn't contain a noSuchMethod
// handler -- not even if it is nullable.
- if (mask.isEmpty) continue;
- receiverClass = mask.base.element;
+ receiverClass = mask.topClass();
kasperl 2013/04/30 14:03:24 Here we shouldn't compute a receiver class but rat
ngeoffray 2013/05/01 12:56:16 Done.
+ if (receiverClass == null) continue;
}
// If the receiver class is guaranteed to have a member that

Powered by Google App Engine
This is Rietveld 408576698