| Index: runtime/vm/object.h
|
| diff --git a/runtime/vm/object.h b/runtime/vm/object.h
|
| index 61a2866e27bbafd89d2dee7514b7633fd0217004..45b0f16c24c97cfe1740b3c2432573b2c4cd2d64 100644
|
| --- a/runtime/vm/object.h
|
| +++ b/runtime/vm/object.h
|
| @@ -4748,6 +4748,19 @@ class Code : public Object {
|
| const Comments& comments() const;
|
| void set_comments(const Comments& comments) const;
|
|
|
| + CodeStatistics* stats() const {
|
| +#ifdef DART_PRECOMPILER
|
| + return raw_ptr()->function_stats_;
|
| +#else
|
| + return NULL;
|
| +#endif
|
| + }
|
| + void set_stats(CodeStatistics* stats) const {
|
| +#ifdef DART_PRECOMPILER
|
| + StoreNonPointer(&raw_ptr()->function_stats_, stats);
|
| +#endif
|
| + }
|
| +
|
| RawObject* return_address_metadata() const {
|
| #if defined(DART_PRECOMPILED_RUNTIME)
|
| UNREACHABLE();
|
|
|