Index: src/builtins/mips/builtins-mips.cc |
diff --git a/src/builtins/mips/builtins-mips.cc b/src/builtins/mips/builtins-mips.cc |
index 64ee5f8a697a9c474b08a4d4e5d3ada7f6c05ff5..43e3225a8b26efa3fe65f4a90974abfd483da4f0 100644 |
--- a/src/builtins/mips/builtins-mips.cc |
+++ b/src/builtins/mips/builtins-mips.cc |
@@ -1029,6 +1029,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)); |