Index: src/mips64/codegen-mips64.cc |
diff --git a/src/mips64/codegen-mips64.cc b/src/mips64/codegen-mips64.cc |
index 4c9dfae01de48049c0b3cff0a7cc4a6448d7898a..022426e7d7872f93f1258699371c651b7e7563b3 100644 |
--- a/src/mips64/codegen-mips64.cc |
+++ b/src/mips64/codegen-mips64.cc |
@@ -1191,9 +1191,10 @@ CodeAgingHelper::CodeAgingHelper(Isolate* isolate) { |
// to avoid overloading the stack in stress conditions. |
// DONT_FLUSH is used because the CodeAgingHelper is initialized early in |
// the process, before MIPS simulator ICache is setup. |
- base::SmartPointer<CodePatcher> patcher(new CodePatcher( |
- young_sequence_.start(), young_sequence_.length() / Assembler::kInstrSize, |
- CodePatcher::DONT_FLUSH)); |
+ base::SmartPointer<CodePatcher> patcher( |
+ new CodePatcher(isolate, young_sequence_.start(), |
+ young_sequence_.length() / Assembler::kInstrSize, |
+ CodePatcher::DONT_FLUSH)); |
PredictableCodeSizeScope scope(patcher->masm(), young_sequence_.length()); |
patcher->masm()->Push(ra, fp, cp, a1); |
patcher->masm()->nop(Assembler::CODE_AGE_SEQUENCE_NOP); |
@@ -1242,7 +1243,8 @@ void Code::PatchPlatformCodeAge(Isolate* isolate, |
Assembler::FlushICache(isolate, sequence, young_length); |
} else { |
Code* stub = GetCodeAgeStub(isolate, age, parity); |
- CodePatcher patcher(sequence, young_length / Assembler::kInstrSize); |
+ CodePatcher patcher(isolate, sequence, |
+ young_length / Assembler::kInstrSize); |
// Mark this code sequence for FindPlatformCodeAgeSequence(). |
patcher.masm()->nop(Assembler::CODE_AGE_MARKER_NOP); |
// Load the stub address to t9 and call it, |