Index: src/mips/codegen-mips.cc |
diff --git a/src/mips/codegen-mips.cc b/src/mips/codegen-mips.cc |
index 5c847fc8f6227e7896aaacb66163eb244dd59764..a12faee433a8bb70dbaa09e131c90d836c24c73a 100644 |
--- a/src/mips/codegen-mips.cc |
+++ b/src/mips/codegen-mips.cc |
@@ -635,7 +635,8 @@ void Code::GetCodeAgeAndParity(byte* sequence, Age* age, |
} |
-void Code::PatchPlatformCodeAge(byte* sequence, |
+void Code::PatchPlatformCodeAge(Isolate* isolate, |
+ byte* sequence, |
Code::Age age, |
MarkingParity parity) { |
uint32_t young_length; |
@@ -644,7 +645,7 @@ void Code::PatchPlatformCodeAge(byte* sequence, |
CopyBytes(sequence, young_sequence, young_length); |
CPU::FlushICache(sequence, young_length); |
} else { |
- Code* stub = GetCodeAgeStub(age, parity); |
+ Code* stub = GetCodeAgeStub(isolate, age, parity); |
CodePatcher patcher(sequence, young_length / Assembler::kInstrSize); |
// Mark this code sequence for FindPlatformCodeAgeSequence() |
patcher.masm()->nop(Assembler::CODE_AGE_MARKER_NOP); |