Index: src/full-codegen/x64/full-codegen-x64.cc |
diff --git a/src/full-codegen/x64/full-codegen-x64.cc b/src/full-codegen/x64/full-codegen-x64.cc |
index 72cf6eae24ad7c2377e99846acbcc6d2b5e9b8d2..e3a41aaba11dad8b44de91624e592e58610be8a1 100644 |
--- a/src/full-codegen/x64/full-codegen-x64.cc |
+++ b/src/full-codegen/x64/full-codegen-x64.cc |
@@ -122,6 +122,7 @@ void FullCodeGenerator::Generate() { |
{ |
Comment cmnt(masm_, "[ Increment invocation count"); |
__ movp(rcx, FieldOperand(rdi, JSFunction::kFeedbackVectorOffset)); |
+ __ movp(rcx, FieldOperand(rcx, Cell::kValueOffset)); |
__ SmiAddConstant( |
FieldOperand(rcx, |
TypeFeedbackVector::kInvocationCountIndex * kPointerSize + |