| Index: runtime/vm/snapshot.h
|
| diff --git a/runtime/vm/snapshot.h b/runtime/vm/snapshot.h
|
| index c374c8b11c5f65163ddee553616b20dfecab7c04..13015f8365fba5111be00f3b659f85bafd07f9f9 100644
|
| --- a/runtime/vm/snapshot.h
|
| +++ b/runtime/vm/snapshot.h
|
| @@ -326,13 +326,7 @@ class BackRefNode : public ValueObject {
|
|
|
| class ImageReader : public ZoneAllocated {
|
| public:
|
| - ImageReader(const uint8_t* instructions_buffer, const uint8_t* data_buffer)
|
| - : instructions_buffer_(instructions_buffer), data_buffer_(data_buffer) {
|
| - ASSERT(instructions_buffer != NULL);
|
| - ASSERT(data_buffer != NULL);
|
| - ASSERT(Utils::IsAligned(reinterpret_cast<uword>(instructions_buffer),
|
| - OS::PreferredCodeAlignment()));
|
| - }
|
| + ImageReader(const uint8_t* instructions_buffer, const uint8_t* data_buffer);
|
|
|
| RawInstructions* GetInstructionsAt(int32_t offset);
|
| RawObject* GetObjectAt(int32_t offset);
|
| @@ -340,6 +334,7 @@ class ImageReader : public ZoneAllocated {
|
| private:
|
| const uint8_t* instructions_buffer_;
|
| const uint8_t* data_buffer_;
|
| + const uint8_t* vm_instructions_buffer_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(ImageReader);
|
| };
|
|
|