| Index: runtime/vm/raw_object.h
|
| diff --git a/runtime/vm/raw_object.h b/runtime/vm/raw_object.h
|
| index bacbfe82f274c3c6a75c35a24193d29ad6a0dc1d..2110436b0ceb200a95d667d31bea81e3b66ada38 100644
|
| --- a/runtime/vm/raw_object.h
|
| +++ b/runtime/vm/raw_object.h
|
| @@ -763,8 +763,10 @@ class RawFunction : public RawObject {
|
| RawObject** to_snapshot() {
|
| return reinterpret_cast<RawObject**>(&ptr()->data_);
|
| }
|
| - // Fields below are not part of the snapshot.
|
| RawArray* ic_data_array_; // ICData of unoptimized code.
|
| + RawObject** to_optimized_snapshot() {
|
| + return reinterpret_cast<RawObject**>(&ptr()->ic_data_array_);
|
| + }
|
| RawObject** to_no_code() {
|
| return reinterpret_cast<RawObject**>(&ptr()->ic_data_array_);
|
| }
|
|
|