Index: src/full-codegen/ppc/full-codegen-ppc.cc |
diff --git a/src/full-codegen/ppc/full-codegen-ppc.cc b/src/full-codegen/ppc/full-codegen-ppc.cc |
index 8aa7aaca6a557b80d12062f4a9ac34aec9d05143..1884a1673146c210d4c87d0c52e216caa96017c9 100644 |
--- a/src/full-codegen/ppc/full-codegen-ppc.cc |
+++ b/src/full-codegen/ppc/full-codegen-ppc.cc |
@@ -1095,9 +1095,9 @@ void FullCodeGenerator::VisitForInStatement(ForInStatement* stmt) { |
Label non_proxy; |
__ bind(&fixed_array); |
- __ Move(r4, FeedbackVector()); |
+ __ EmitLoadTypeFeedbackVector(r4); |
__ mov(r5, Operand(TypeFeedbackVector::MegamorphicSentinel(isolate()))); |
- int vector_index = FeedbackVector()->GetIndex(slot); |
+ int vector_index = SmiFromSlot(slot)->value(); |
__ StoreP( |
r5, FieldMemOperand(r4, FixedArray::OffsetOfElementAt(vector_index)), r0); |
@@ -3182,7 +3182,7 @@ void FullCodeGenerator::VisitCallNew(CallNew* expr) { |
__ LoadP(r4, MemOperand(sp, arg_count * kPointerSize), r0); |
// Record call targets in unoptimized code. |
- __ Move(r5, FeedbackVector()); |
+ __ EmitLoadTypeFeedbackVector(r5); |
__ LoadSmiLiteral(r6, SmiFromSlot(expr->CallNewFeedbackSlot())); |
CallConstructStub stub(isolate(), RECORD_CONSTRUCTOR_TARGET); |
@@ -3222,7 +3222,7 @@ void FullCodeGenerator::EmitSuperConstructorCall(Call* expr) { |
__ LoadP(r4, MemOperand(sp, arg_count * kPointerSize)); |
// Record call targets in unoptimized code. |
- __ Move(r5, FeedbackVector()); |
+ __ EmitLoadTypeFeedbackVector(r5); |
__ LoadSmiLiteral(r6, SmiFromSlot(expr->CallFeedbackSlot())); |
CallConstructStub stub(isolate(), SUPER_CALL_RECORD_TARGET); |