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

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

Issue 10827181: 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: Addressed review comments 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 ebf742aa5c177e161b6adb3a7909fba739479279..88764178775a877cccc0689019fd62c6afdb1ce3 100644
--- a/lib/compiler/implementation/universe.dart
+++ b/lib/compiler/implementation/universe.dart
@@ -353,4 +353,6 @@ class TypedSelector extends Selector {
if (other.receiverType !== receiverType) return false;
return super == other;
}
+
+ toString() => '$kind on $receiverType $argumentCount';
ahe 2012/08/07 11:23:26 How about using this pattern: toString() => 'Type
Søren Gjesse 2012/08/08 10:36:02 Done. Changed toString on Selector to: toString()
ahe 2012/08/08 13:00:27 Nice!
}

Powered by Google App Engine
This is Rietveld 408576698