Chromium Code Reviews| 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; |