| Index: src/x64/codegen-x64.cc
|
| diff --git a/src/x64/codegen-x64.cc b/src/x64/codegen-x64.cc
|
| index 24773c2595d1303aac57cacd10cad243a868e9e0..70f0c31dff223d2bb90ad0d2e1e165e7de3562ac 100644
|
| --- a/src/x64/codegen-x64.cc
|
| +++ b/src/x64/codegen-x64.cc
|
| @@ -723,7 +723,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;
|
| @@ -732,7 +733,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);
|
| patcher.masm()->call(stub->instruction_start());
|
| for (int i = 0;
|
|
|