| Index: runtime/vm/object.h
|
| diff --git a/runtime/vm/object.h b/runtime/vm/object.h
|
| index e7316e74a049d32c0e6685c58185edadb25173f9..52d135e3870b5294f5cb5f038a6432c9a0e30f6a 100644
|
| --- a/runtime/vm/object.h
|
| +++ b/runtime/vm/object.h
|
| @@ -4692,8 +4692,7 @@ class Code : public Object {
|
| void set_is_alive(bool value) const;
|
|
|
| uword PayloadStart() const {
|
| - const Instructions& instr = Instructions::Handle(instructions());
|
| - return instr.PayloadStart();
|
| + return Instructions::PayloadStart(instructions());
|
| }
|
| uword UncheckedEntryPoint() const {
|
| const Instructions& instr = Instructions::Handle(instructions());
|
| @@ -4703,10 +4702,7 @@ class Code : public Object {
|
| const Instructions& instr = Instructions::Handle(instructions());
|
| return instr.CheckedEntryPoint();
|
| }
|
| - intptr_t Size() const {
|
| - const Instructions& instr = Instructions::Handle(instructions());
|
| - return instr.Size();
|
| - }
|
| + intptr_t Size() const { return Instructions::Size(instructions()); }
|
| RawObjectPool* GetObjectPool() const { return object_pool(); }
|
| bool ContainsInstructionAt(uword addr) const {
|
| const Instructions& instr = Instructions::Handle(instructions());
|
|
|