| Index: src/builtins/ia32/builtins-ia32.cc | 
| diff --git a/src/builtins/ia32/builtins-ia32.cc b/src/builtins/ia32/builtins-ia32.cc | 
| index 2215870ab438320844e0d887726c24b1a9597bef..8c765f7a277fe996044b23372a931c35de60627e 100644 | 
| --- a/src/builtins/ia32/builtins-ia32.cc | 
| +++ b/src/builtins/ia32/builtins-ia32.cc | 
| @@ -590,6 +590,13 @@ void Builtins::Generate_InterpreterEntryTrampoline(MacroAssembler* masm) { | 
| __ cmp(ecx, FieldOperand(eax, SharedFunctionInfo::kCodeOffset)); | 
| __ j(not_equal, &switch_to_different_code_kind); | 
|  | 
| +  // Increment invocation count for the function. | 
| +  __ EmitLoadTypeFeedbackVector(ecx); | 
| +  __ add(FieldOperand(ecx, | 
| +                      TypeFeedbackVector::kInvocationCountIndex * kPointerSize + | 
| +                          TypeFeedbackVector::kHeaderSize), | 
| +         Immediate(Smi::FromInt(1))); | 
| + | 
| // Check function data field is actually a BytecodeArray object. | 
| if (FLAG_debug_code) { | 
| __ AssertNotSmi(kInterpreterBytecodeArrayRegister); | 
|  |