Index: src/full-codegen/ia32/full-codegen-ia32.cc |
diff --git a/src/full-codegen/ia32/full-codegen-ia32.cc b/src/full-codegen/ia32/full-codegen-ia32.cc |
index a7dfdfd3476a24097356af9f8ae6ef393e776ab7..869df31fa571a9b3144261c2bf1cd06aff26bb28 100644 |
--- a/src/full-codegen/ia32/full-codegen-ia32.cc |
+++ b/src/full-codegen/ia32/full-codegen-ia32.cc |
@@ -122,6 +122,7 @@ void FullCodeGenerator::Generate() { |
{ |
Comment cmnt(masm_, "[ Increment invocation count"); |
__ mov(ecx, FieldOperand(edi, JSFunction::kFeedbackVectorOffset)); |
+ __ mov(ecx, FieldOperand(ecx, Cell::kValueOffset)); |
__ add(FieldOperand( |
ecx, TypeFeedbackVector::kInvocationCountIndex * kPointerSize + |
TypeFeedbackVector::kHeaderSize), |