Index: src/builtins/mips64/builtins-mips64.cc |
diff --git a/src/builtins/mips64/builtins-mips64.cc b/src/builtins/mips64/builtins-mips64.cc |
index 1428501de91979bc500a4f7122830197ab96f8c3..cec12edb754a4d3d0e0cb8e482d95c822412f545 100644 |
--- a/src/builtins/mips64/builtins-mips64.cc |
+++ b/src/builtins/mips64/builtins-mips64.cc |
@@ -1020,6 +1020,11 @@ void Builtins::Generate_InterpreterEntryTrampoline(MacroAssembler* masm) { |
Operand(BYTECODE_ARRAY_TYPE)); |
} |
+ // Reset code age. |
+ DCHECK_EQ(0, BytecodeArray::kNoAgeBytecodeAge); |
+ __ sb(zero_reg, FieldMemOperand(kInterpreterBytecodeArrayRegister, |
+ BytecodeArray::kBytecodeAgeOffset)); |
+ |
// Load initial bytecode offset. |
__ li(kInterpreterBytecodeOffsetRegister, |
Operand(BytecodeArray::kHeaderSize - kHeapObjectTag)); |