Index: src/builtins/x87/builtins-x87.cc |
diff --git a/src/builtins/x87/builtins-x87.cc b/src/builtins/x87/builtins-x87.cc |
index dec1bac8541617533719b654658a38dd416bfc63..e234159b176e18f9977dc0bcce7ff3ac6c852ecf 100644 |
--- a/src/builtins/x87/builtins-x87.cc |
+++ b/src/builtins/x87/builtins-x87.cc |
@@ -564,6 +564,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. |