| Index: runtime/vm/code_patcher_mips.cc
|
| diff --git a/runtime/vm/code_patcher_mips.cc b/runtime/vm/code_patcher_mips.cc
|
| index 95d220bbf3553fecda5790c77518d590e9691513..1794ab857d6b2d71b74e1b3871080cebb000a941 100644
|
| --- a/runtime/vm/code_patcher_mips.cc
|
| +++ b/runtime/vm/code_patcher_mips.cc
|
| @@ -84,7 +84,8 @@ RawFunction* CodePatcher::GetUnoptimizedStaticCallAt(
|
| class EdgeCounter : public ValueObject {
|
| public:
|
| EdgeCounter(uword pc, const Code& code)
|
| - : end_(pc - kAdjust), object_pool_(Array::Handle(code.ObjectPool())) {
|
| + : end_(pc - kAdjust),
|
| + object_pool_(ObjectPool::Handle(code.GetObjectPool())) {
|
| // An IsValid predicate is complicated and duplicates the code in the
|
| // decoding function. Instead we rely on decoding the pattern which
|
| // will assert partial validity.
|
| @@ -95,7 +96,7 @@ class EdgeCounter : public ValueObject {
|
| intptr_t index;
|
| InstructionPattern::DecodeLoadWordFromPool(end_, &ignored, &index);
|
| ASSERT(ignored == T0);
|
| - return object_pool_.At(index);
|
| + return object_pool_.ObjectAt(index);
|
| }
|
|
|
| private:
|
| @@ -107,7 +108,7 @@ class EdgeCounter : public ValueObject {
|
| static const intptr_t kAdjust = 3 * Instr::kInstrSize;
|
|
|
| uword end_;
|
| - const Array& object_pool_;
|
| + const ObjectPool& object_pool_;
|
| };
|
|
|
|
|
|
|