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

Unified Diff: lib/compiler/implementation/universe.dart

Issue 10824234: Reapply "Collect call site information and use that for estimating parameter types" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
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
Index: lib/compiler/implementation/universe.dart
diff --git a/lib/compiler/implementation/universe.dart b/lib/compiler/implementation/universe.dart
index 28c24913bdc5c66571dcc13e248545c0a69e6e2d..0f2cd478853617d08d55f22ec6a21cb93bb73d5a 100644
--- a/lib/compiler/implementation/universe.dart
+++ b/lib/compiler/implementation/universe.dart
@@ -285,7 +285,7 @@ class Selector implements Hashable {
return orderedNamedArguments;
}
- toString() => '$kind $argumentCount';
+ toString() => 'Selector($kind, $argumentCount)';
}
class TypedSelector extends Selector {
@@ -349,4 +349,6 @@ class TypedSelector extends Selector {
return false;
}
+
+ toString() => 'TypedSelector($kind, $receiverType, $argumentCount)';
}
« no previous file with comments | « lib/compiler/implementation/ssa/codegen.dart ('k') | tests/compiler/dart2js/call_site_type_inferer_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698