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

Unified Diff: dart/lib/compiler/implementation/ssa/builder.dart

Issue 10836134: Revert "Infer guaranteed types for static calls that are only called once." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 4 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 | « no previous file | dart/lib/compiler/implementation/types/types.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/lib/compiler/implementation/ssa/builder.dart
diff --git a/dart/lib/compiler/implementation/ssa/builder.dart b/dart/lib/compiler/implementation/ssa/builder.dart
index 7aba3c44accefc88a226b09e8344a2dba8bc4830..6f72e0441d5bddb8822d44995fcd7cfd0299d721 100644
--- a/dart/lib/compiler/implementation/ssa/builder.dart
+++ b/dart/lib/compiler/implementation/ssa/builder.dart
@@ -3299,7 +3299,8 @@ class SsaBuilder extends ResolvedVisitor implements Visitor {
if (element === builder.compiler.boolClass) return HType.BOOLEAN;
if (element === builder.compiler.doubleClass) return HType.DOUBLE;
if (element === builder.compiler.intClass) return HType.INTEGER;
- if (element === builder.compiler.listClass) return HType.READABLE_ARRAY;
+ // TODO(ahe): How to map listClass to HType?
+ if (element === builder.compiler.listClass) return HType.UNKNOWN;
if (element === builder.compiler.nullClass) return HType.NULL;
if (element === builder.compiler.stringClass) return HType.STRING;
return HType.UNKNOWN;
« no previous file with comments | « no previous file | dart/lib/compiler/implementation/types/types.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698