| Index: runtime/vm/raw_object.h
|
| diff --git a/runtime/vm/raw_object.h b/runtime/vm/raw_object.h
|
| index bacbfe82f274c3c6a75c35a24193d29ad6a0dc1d..ff929c5a602d2a5b999ef0a501a76edc35d5535f 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;
|
| @@ -1098,6 +1102,7 @@ class RawInstructions : public RawObject {
|
| friend class SkippedCodeFunctions;
|
| friend class Function;
|
| friend class InstructionsReader;
|
| + friend class InstructionsWriter;
|
| };
|
|
|
|
|
|
|