| Index: runtime/vm/object.h
|
| diff --git a/runtime/vm/object.h b/runtime/vm/object.h
|
| index 78794a9e8897003b42791bcd48434c76d978ad85..124be766390cfd147fd688a7a9536fcc6aaf0455 100644
|
| --- a/runtime/vm/object.h
|
| +++ b/runtime/vm/object.h
|
| @@ -1926,6 +1926,10 @@ class ICData : public Object {
|
| RawFunction* GetTargetAt(intptr_t index) const;
|
| RawFunction* GetTargetForReceiverClassId(intptr_t class_id) const;
|
|
|
| + RawObject* GetTargetOrCodeAt(intptr_t index) const;
|
| + void SetCodeAt(intptr_t index, const Code& value) const;
|
| + void SetEntryPointAt(intptr_t index, const Smi& value) const;
|
| +
|
| void IncrementCountAt(intptr_t index, intptr_t value) const;
|
| void SetCountAt(intptr_t index, intptr_t value) const;
|
| intptr_t GetCountAt(intptr_t index) const;
|
| @@ -1962,10 +1966,16 @@ class ICData : public Object {
|
| static intptr_t TargetIndexFor(intptr_t num_args) {
|
| return num_args;
|
| }
|
| + static intptr_t CodeIndexFor(intptr_t num_args) {
|
| + return num_args;
|
| + }
|
|
|
| static intptr_t CountIndexFor(intptr_t num_args) {
|
| return (num_args + 1);
|
| }
|
| + static intptr_t EntryPointIndexFor(intptr_t num_args) {
|
| + return (num_args + 1);
|
| + }
|
|
|
| bool IsUsedAt(intptr_t i) const;
|
|
|
|
|