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

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

Issue 12256036: Fix warning spotted by dartc, and make the HType understand the dynamic class. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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 | « sdk/lib/_internal/compiler/implementation/ssa/codegen.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/compiler/implementation/ssa/types.dart
===================================================================
--- sdk/lib/_internal/compiler/implementation/ssa/types.dart (revision 18511)
+++ sdk/lib/_internal/compiler/implementation/ssa/types.dart (working copy)
@@ -65,7 +65,8 @@
type,
canBeNull: canBeNull,
isInterfaceType: isInterfaceType);
- } else if (element == compiler.objectClass) {
+ } else if (element == compiler.objectClass
+ || element == compiler.dynamicClass) {
return new HBoundedPotentialPrimitiveType(
compiler.objectClass.computeType(compiler),
true,
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/ssa/codegen.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698