Index: src/ia32/codegen-ia32.cc |
diff --git a/src/ia32/codegen-ia32.cc b/src/ia32/codegen-ia32.cc |
index 84a4d238bd427ac0d3e916fd849bab069207d407..de9c8ae7f03421cf9d1222c2faef2b8c89476fdb 100644 |
--- a/src/ia32/codegen-ia32.cc |
+++ b/src/ia32/codegen-ia32.cc |
@@ -1165,7 +1165,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; |
@@ -1174,7 +1175,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(), RelocInfo::NONE32); |
} |