Index: src/full-codegen/mips64/full-codegen-mips64.cc |
diff --git a/src/full-codegen/mips64/full-codegen-mips64.cc b/src/full-codegen/mips64/full-codegen-mips64.cc |
index 5ff766b4b4621579c33e40daddf4628a4dd5e1f3..59142cc07ced4480aceb5656319556e9726d32cb 100644 |
--- a/src/full-codegen/mips64/full-codegen-mips64.cc |
+++ b/src/full-codegen/mips64/full-codegen-mips64.cc |
@@ -1122,9 +1122,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(); |
__ sd(a2, FieldMemOperand(a1, FixedArray::OffsetOfElementAt(vector_index))); |
__ li(a1, Operand(Smi::FromInt(1))); // Smi indicates slow check |
@@ -3179,7 +3179,7 @@ void FullCodeGenerator::VisitCallNew(CallNew* expr) { |
__ ld(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); |
@@ -3219,7 +3219,7 @@ void FullCodeGenerator::EmitSuperConstructorCall(Call* expr) { |
__ ld(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); |