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

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: Review addressed 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
« no previous file with comments | « runtime/vm/il_printer.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object.h
diff --git a/runtime/vm/object.h b/runtime/vm/object.h
index 53a22fc954bc2eb5c0dec9042ec10c246fe6e726..902ea91ed2b0515e3ffa8464f4976bc26a5b3e70 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -1960,6 +1960,12 @@ 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!! (the convention for ICData used in code generation is that
+ // Smi check is first)
+ // Used for printing and optimizations.
+ RawICData* AsUnaryClassChecksSortedByCount() const;
+
// Consider only used entries.
bool AllTargetsHaveSameOwner(intptr_t owner_cid) const;
bool AllReceiversAreNumbers() const;
« no previous file with comments | « 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