Index: src/full-codegen/x87/full-codegen-x87.cc |
diff --git a/src/full-codegen/x87/full-codegen-x87.cc b/src/full-codegen/x87/full-codegen-x87.cc |
index 0f141a9bf4690802320fd212387710fac3cdb278..b3a2a46d444ac9a51ab860be6ed399b25e6f3f52 100644 |
--- a/src/full-codegen/x87/full-codegen-x87.cc |
+++ b/src/full-codegen/x87/full-codegen-x87.cc |
@@ -121,8 +121,8 @@ void FullCodeGenerator::Generate() { |
// Increment invocation count for the function. |
{ |
Comment cmnt(masm_, "[ Increment invocation count"); |
- __ mov(ecx, FieldOperand(edi, JSFunction::kLiteralsOffset)); |
- __ mov(ecx, FieldOperand(ecx, LiteralsArray::kFeedbackVectorOffset)); |
+ __ mov(ecx, FieldOperand(edi, JSFunction::kFeedbackVectorOffset)); |
+ __ mov(ecx, FieldOperand(ecx, Cell::kValueOffset)); |
__ add(FieldOperand( |
ecx, TypeFeedbackVector::kInvocationCountIndex * kPointerSize + |
TypeFeedbackVector::kHeaderSize), |