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 65e8748624ab5efde421cf27b28c869dd36e794c..3bd4f82be4aebd568a030e065027fb35c5ae5873 100644 |
--- a/src/full-codegen/ppc/full-codegen-ppc.cc |
+++ b/src/full-codegen/ppc/full-codegen-ppc.cc |
@@ -138,6 +138,7 @@ void FullCodeGenerator::Generate() { |
{ |
Comment cmnt(masm_, "[ Increment invocation count"); |
__ LoadP(r7, FieldMemOperand(r4, JSFunction::kFeedbackVectorOffset)); |
+ __ LoadP(r7, FieldMemOperand(r7, Cell::kValueOffset)); |
__ LoadP(r8, FieldMemOperand(r7, TypeFeedbackVector::kInvocationCountIndex * |
kPointerSize + |
TypeFeedbackVector::kHeaderSize)); |