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

Unified Diff: runtime/vm/object.h

Issue 1920103004: Added flag --inline_smi_string_hashcode and --inline_smi_string_hashcode_ratio to decide when/if sh… (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 8 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: runtime/vm/object.h
diff --git a/runtime/vm/object.h b/runtime/vm/object.h
index 53a22fc954bc2eb5c0dec9042ec10c246fe6e726..51ca827c15fd1aeb4ee45f7c430018cc2810334d 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -1960,6 +1960,10 @@ class ICData : public Object {
RawICData* AsUnaryClassChecksForCid(
intptr_t cid, const Function& target) const;
+ // Returns ICData with aggregated receiver count, sorted by highest count.
+ // Smi not first!! Used for printing and optimizations.
zra 2016/04/27 16:28:17 Could you explain a bit more what "Smi not first"
srdjan 2016/04/27 18:10:22 Added comment that the convention for ICData used
+ RawICData* AsUnaryClassChecksSortedByCount() const;
+
// Consider only used entries.
bool AllTargetsHaveSameOwner(intptr_t owner_cid) const;
bool AllReceiversAreNumbers() const;
« runtime/vm/il_printer.cc ('K') | « runtime/vm/il_printer.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698