| Index: runtime/vm/assembler_mips.h
|
| diff --git a/runtime/vm/assembler_mips.h b/runtime/vm/assembler_mips.h
|
| index 0ccfb86e0787d692b4b17f67f3186c6068daa2a2..8836c595bfc14d49d72d14f653b7fe7db49a2894 100644
|
| --- a/runtime/vm/assembler_mips.h
|
| +++ b/runtime/vm/assembler_mips.h
|
| @@ -263,11 +263,9 @@ class Assembler : public ValueObject {
|
| return buffer_.pointer_offsets();
|
| }
|
|
|
| - const GrowableObjectArray& object_pool_data() const {
|
| - return object_pool_.data();
|
| - }
|
| + ObjectPoolHelper& object_pool() { return object_pool_; }
|
|
|
| - ObjectPool& object_pool() { return object_pool_; }
|
| + RawObjectPool* MakeObjectPool() { return object_pool_.MakeObjectPool(); }
|
|
|
| void FinalizeInstructions(const MemoryRegion& region) {
|
| buffer_.FinalizeInstructions(region);
|
| @@ -928,7 +926,7 @@ class Assembler : public ValueObject {
|
|
|
| void BranchLinkPatchable(const ExternalLabel* label) {
|
| ASSERT(!in_delay_slot_);
|
| - const int32_t offset = Array::element_offset(
|
| + const int32_t offset = ObjectPool::element_offset(
|
| object_pool_.FindExternalLabel(label, kPatchable));
|
| LoadWordFromPoolOffset(T9, offset - kHeapObjectTag);
|
| jalr(T9);
|
| @@ -1614,7 +1612,7 @@ class Assembler : public ValueObject {
|
|
|
| private:
|
| AssemblerBuffer buffer_;
|
| - ObjectPool object_pool_; // Objects and patchable jump targets.
|
| + ObjectPoolHelper object_pool_; // Objects and patchable jump targets.
|
|
|
| intptr_t prologue_offset_;
|
|
|
|
|