Index: src/arm/codegen-arm.cc |
diff --git a/src/arm/codegen-arm.cc b/src/arm/codegen-arm.cc |
index 1bcf3e3a605b051571dc9c51912264c65b90e14e..732d9f3060e6b1da24a760132370cd379dbc7578 100644 |
--- a/src/arm/codegen-arm.cc |
+++ b/src/arm/codegen-arm.cc |
@@ -870,7 +870,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; |
@@ -879,7 +880,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); |
patcher.masm()->add(r0, pc, Operand(-8)); |
patcher.masm()->ldr(pc, MemOperand(pc, -4)); |