| Index: src/objects.cc
|
| diff --git a/src/objects.cc b/src/objects.cc
|
| index 6f306408908eac1caf81d1606364b2ee13224110..2a594ceab73d2c651776fff727465d9530ea3e36 100644
|
| --- a/src/objects.cc
|
| +++ b/src/objects.cc
|
| @@ -11260,10 +11260,11 @@ void Code::MakeOlder(MarkingParity current_parity) {
|
| if (sequence != NULL) {
|
| Age age;
|
| MarkingParity code_parity;
|
| - GetCodeAgeAndParity(sequence, &age, &code_parity);
|
| + Isolate* isolate = GetIsolate();
|
| + GetCodeAgeAndParity(isolate, sequence, &age, &code_parity);
|
| age = EffectiveAge(age);
|
| if (age != kLastCodeAge && code_parity != current_parity) {
|
| - PatchPlatformCodeAge(GetIsolate(),
|
| + PatchPlatformCodeAge(isolate,
|
| sequence,
|
| static_cast<Age>(age + 1),
|
| current_parity);
|
| @@ -11299,7 +11300,7 @@ Code::Age Code::GetRawAge() {
|
| }
|
| Age age;
|
| MarkingParity parity;
|
| - GetCodeAgeAndParity(sequence, &age, &parity);
|
| + GetCodeAgeAndParity(GetIsolate(), sequence, &age, &parity);
|
| return age;
|
| }
|
|
|
|
|