| Index: src/full-codegen/mips/full-codegen-mips.cc
|
| diff --git a/src/full-codegen/mips/full-codegen-mips.cc b/src/full-codegen/mips/full-codegen-mips.cc
|
| index e9019b9cb70ac854b56cf2afc8ee0ca11c61c287..a6d22581590948dd668e4d269b0af4e0ecfe8ea4 100644
|
| --- a/src/full-codegen/mips/full-codegen-mips.cc
|
| +++ b/src/full-codegen/mips/full-codegen-mips.cc
|
| @@ -1124,9 +1124,9 @@ void FullCodeGenerator::VisitForInStatement(ForInStatement* stmt) {
|
| Label non_proxy;
|
| __ bind(&fixed_array);
|
|
|
| - __ li(a1, FeedbackVector());
|
| + __ EmitLoadTypeFeedbackVector(a1);
|
| __ li(a2, Operand(TypeFeedbackVector::MegamorphicSentinel(isolate())));
|
| - int vector_index = FeedbackVector()->GetIndex(slot);
|
| + int vector_index = SmiFromSlot(slot)->value();
|
| __ sw(a2, FieldMemOperand(a1, FixedArray::OffsetOfElementAt(vector_index)));
|
|
|
| __ li(a1, Operand(Smi::FromInt(1))); // Smi indicates slow check
|
| @@ -3177,7 +3177,7 @@ void FullCodeGenerator::VisitCallNew(CallNew* expr) {
|
| __ lw(a1, MemOperand(sp, arg_count * kPointerSize));
|
|
|
| // Record call targets in unoptimized code.
|
| - __ li(a2, FeedbackVector());
|
| + __ EmitLoadTypeFeedbackVector(a2);
|
| __ li(a3, Operand(SmiFromSlot(expr->CallNewFeedbackSlot())));
|
|
|
| CallConstructStub stub(isolate(), RECORD_CONSTRUCTOR_TARGET);
|
| @@ -3217,7 +3217,7 @@ void FullCodeGenerator::EmitSuperConstructorCall(Call* expr) {
|
| __ lw(a1, MemOperand(sp, arg_count * kPointerSize));
|
|
|
| // Record call targets in unoptimized code.
|
| - __ li(a2, FeedbackVector());
|
| + __ EmitLoadTypeFeedbackVector(a2);
|
| __ li(a3, Operand(SmiFromSlot(expr->CallFeedbackSlot())));
|
|
|
| CallConstructStub stub(isolate(), SUPER_CALL_RECORD_TARGET);
|
|
|