| Index: runtime/vm/object.h
|
| diff --git a/runtime/vm/object.h b/runtime/vm/object.h
|
| index fef9c4c3443c63432b1361e031516fd91b3acf86..780a3fd5d7433ad63f5dba6418c21ff67c76b765 100644
|
| --- a/runtime/vm/object.h
|
| +++ b/runtime/vm/object.h
|
| @@ -4346,6 +4346,10 @@ class Code : public Object {
|
| DISALLOW_COPY_AND_ASSIGN(FindRawCodeVisitor);
|
| };
|
|
|
| + static bool IsOptimized(RawCode* code) {
|
| + return Code::OptimizedBit::decode(code->ptr()->state_bits_);
|
| + }
|
| +
|
| static const intptr_t kEntrySize = sizeof(int32_t); // NOLINT
|
|
|
| void set_compile_timestamp(int64_t timestamp) const {
|
|
|