Index: src/builtins/ppc/builtins-ppc.cc |
diff --git a/src/builtins/ppc/builtins-ppc.cc b/src/builtins/ppc/builtins-ppc.cc |
index 8f3ef4297b35f5915dc1558ec3e827ea7f6df2c5..314665a4a636fcf2ace6b9e78d776b7bcc60c7c8 100644 |
--- a/src/builtins/ppc/builtins-ppc.cc |
+++ b/src/builtins/ppc/builtins-ppc.cc |
@@ -1055,6 +1055,12 @@ void Builtins::Generate_InterpreterEntryTrampoline(MacroAssembler* masm) { |
__ Assert(eq, kFunctionDataShouldBeBytecodeArrayOnInterpreterEntry); |
} |
+ // Reset code age. |
+ __ mov(r8, Operand(BytecodeArray::kNoAgeBytecodeAge)); |
+ __ StoreByte(r8, FieldMemOperand(kInterpreterBytecodeArrayRegister, |
+ BytecodeArray::kBytecodeAgeOffset), |
+ r0); |
+ |
// Load initial bytecode offset. |
__ mov(kInterpreterBytecodeOffsetRegister, |
Operand(BytecodeArray::kHeaderSize - kHeapObjectTag)); |