Index: src/full-codegen/s390/full-codegen-s390.cc |
diff --git a/src/full-codegen/s390/full-codegen-s390.cc b/src/full-codegen/s390/full-codegen-s390.cc |
index 420ddafb98bfe8e5d086ce7590e5e1939cb66b5e..987632cdbf6dbc8e4bb21e2c91a180d822dceb44 100644 |
--- a/src/full-codegen/s390/full-codegen-s390.cc |
+++ b/src/full-codegen/s390/full-codegen-s390.cc |
@@ -138,6 +138,7 @@ void FullCodeGenerator::Generate() { |
{ |
Comment cmnt(masm_, "[ Increment invocation count"); |
__ LoadP(r6, FieldMemOperand(r3, JSFunction::kFeedbackVectorOffset)); |
+ __ LoadP(r6, FieldMemOperand(r6, Cell::kValueOffset)); |
__ LoadP(r1, FieldMemOperand(r6, TypeFeedbackVector::kInvocationCountIndex * |
kPointerSize + |
TypeFeedbackVector::kHeaderSize)); |