Index: src/builtins/s390/builtins-s390.cc |
diff --git a/src/builtins/s390/builtins-s390.cc b/src/builtins/s390/builtins-s390.cc |
index 79e7e1a2529ddc7afff770c75d88dafaf63fe363..7190227f11074076d7add7d4a94df5f36ca0283f 100644 |
--- a/src/builtins/s390/builtins-s390.cc |
+++ b/src/builtins/s390/builtins-s390.cc |
@@ -1058,6 +1058,12 @@ void Builtins::Generate_InterpreterEntryTrampoline(MacroAssembler* masm) { |
__ Assert(eq, kFunctionDataShouldBeBytecodeArrayOnInterpreterEntry); |
} |
+ // Reset code age. |
+ __ mov(r1, Operand(BytecodeArray::kNoAgeBytecodeAge)); |
+ __ StoreByte(r1, FieldMemOperand(kInterpreterBytecodeArrayRegister, |
+ BytecodeArray::kBytecodeAgeOffset), |
+ r0); |
+ |
// Load the initial bytecode offset. |
__ mov(kInterpreterBytecodeOffsetRegister, |
Operand(BytecodeArray::kHeaderSize - kHeapObjectTag)); |