Index: src/builtins/ia32/builtins-ia32.cc |
diff --git a/src/builtins/ia32/builtins-ia32.cc b/src/builtins/ia32/builtins-ia32.cc |
index 99a3c92500e46ee07d19e32a3a3f07a7c8dccfcd..7656e53f9a66fcc054f65fbe40909f6803a4aaae 100644 |
--- a/src/builtins/ia32/builtins-ia32.cc |
+++ b/src/builtins/ia32/builtins-ia32.cc |
@@ -563,6 +563,11 @@ void Builtins::Generate_InterpreterEntryTrampoline(MacroAssembler* masm) { |
__ Assert(equal, kFunctionDataShouldBeBytecodeArrayOnInterpreterEntry); |
} |
+ // Reset code age. |
+ __ mov_b(FieldOperand(kInterpreterBytecodeArrayRegister, |
+ BytecodeArray::kBytecodeAgeOffset), |
+ Immediate(BytecodeArray::kNoAgeBytecodeAge)); |
+ |
// Push bytecode array. |
__ push(kInterpreterBytecodeArrayRegister); |
// Push Smi tagged initial bytecode array offset. |