| Index: runtime/vm/raw_object.h
|
| diff --git a/runtime/vm/raw_object.h b/runtime/vm/raw_object.h
|
| index 2110436b0ceb200a95d667d31bea81e3b66ada38..cef2223f7a70706d4c2ee0ce8684a6ef12f7864f 100644
|
| --- a/runtime/vm/raw_object.h
|
| +++ b/runtime/vm/raw_object.h
|
| @@ -410,6 +410,9 @@ class RawObject {
|
| bool IsFunction() {
|
| return ((GetClassId() == kFunctionCid));
|
| }
|
| + bool IsInstructions() {
|
| + return ((GetClassId() == kInstructionsCid));
|
| + }
|
|
|
| intptr_t Size() const {
|
| uword tags = ptr()->tags_;
|
| @@ -585,6 +588,7 @@ class RawObject {
|
| friend class RetainingPathVisitor; // GetClassId
|
| friend class SkippedCodeFunctions; // StorePointer
|
| friend class InstructionsReader; // tags_ check
|
| + friend class InstructionsWriter;
|
| friend class SnapshotReader;
|
| friend class SnapshotWriter;
|
| friend class String;
|
| @@ -1100,6 +1104,7 @@ class RawInstructions : public RawObject {
|
| friend class SkippedCodeFunctions;
|
| friend class Function;
|
| friend class InstructionsReader;
|
| + friend class InstructionsWriter;
|
| };
|
|
|
|
|
|
|