| 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;
|
|
|