| Index: runtime/vm/object.h
|
| diff --git a/runtime/vm/object.h b/runtime/vm/object.h
|
| index 82f3ef7b990bdc2b6ef496bd74688da7026d3bf0..6a00a5a6bd1bfc9c47ae58d73ef62966171c1309 100644
|
| --- a/runtime/vm/object.h
|
| +++ b/runtime/vm/object.h
|
| @@ -4945,7 +4945,7 @@ class Code : public Object {
|
| if (!IsDisabled()) return;
|
| ASSERT(Thread::Current()->IsMutatorThread());
|
| ASSERT(instructions() != active_instructions());
|
| - SetActiveInstructions(instructions());
|
| + SetActiveInstructions(Instructions::Handle(instructions()));
|
| }
|
|
|
| bool IsDisabled() const {
|
| @@ -5001,11 +5001,11 @@ class Code : public Object {
|
| #endif
|
| }
|
|
|
| - void SetActiveInstructions(RawInstructions* instructions) const;
|
| + void SetActiveInstructions(const Instructions& instructions) const;
|
|
|
| - void set_instructions(RawInstructions* instructions) const {
|
| + void set_instructions(const Instructions& instructions) const {
|
| ASSERT(Thread::Current()->IsMutatorThread() || !is_alive());
|
| - StorePointer(&raw_ptr()->instructions_, instructions);
|
| + StorePointer(&raw_ptr()->instructions_, instructions.raw());
|
| }
|
|
|
| void set_pointer_offsets_length(intptr_t value) {
|
|
|