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

Unified Diff: sdk/lib/_internal/compiler/implementation/universe/function_set.dart

Issue 48243002: When doing SSA type propagation, refine the receiver after a call. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 2 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/universe/function_set.dart
===================================================================
--- sdk/lib/_internal/compiler/implementation/universe/function_set.dart (revision 29343)
+++ sdk/lib/_internal/compiler/implementation/universe/function_set.dart (working copy)
@@ -225,8 +225,8 @@
return const TypeMask.empty();
}
return compiler.world.hasSubclasses(cls)
- ? new TypeMask.nonNullSubclass(cls)
- : new TypeMask.nonNullExact(cls);
+ ? new TypeMask.nonNullSubclass(cls.declaration)
+ : new TypeMask.nonNullExact(cls.declaration);
}),
compiler);
}

Powered by Google App Engine
This is Rietveld 408576698