| Index: src/arm/codegen-arm.cc
|
| diff --git a/src/arm/codegen-arm.cc b/src/arm/codegen-arm.cc
|
| index 732d9f3060e6b1da24a760132370cd379dbc7578..1bcf3e3a605b051571dc9c51912264c65b90e14e 100644
|
| --- a/src/arm/codegen-arm.cc
|
| +++ b/src/arm/codegen-arm.cc
|
| @@ -870,8 +870,7 @@ void Code::GetCodeAgeAndParity(byte* sequence, Age* age,
|
| }
|
|
|
|
|
| -void Code::PatchPlatformCodeAge(Isolate* isolate,
|
| - byte* sequence,
|
| +void Code::PatchPlatformCodeAge(byte* sequence,
|
| Code::Age age,
|
| MarkingParity parity) {
|
| uint32_t young_length;
|
| @@ -880,7 +879,7 @@ void Code::PatchPlatformCodeAge(Isolate* isolate,
|
| CopyBytes(sequence, young_sequence, young_length);
|
| CPU::FlushICache(sequence, young_length);
|
| } else {
|
| - Code* stub = GetCodeAgeStub(isolate, age, parity);
|
| + Code* stub = GetCodeAgeStub(age, parity);
|
| CodePatcher patcher(sequence, young_length / Assembler::kInstrSize);
|
| patcher.masm()->add(r0, pc, Operand(-8));
|
| patcher.masm()->ldr(pc, MemOperand(pc, -4));
|
|
|