Index: src/x87/codegen-x87.cc |
diff --git a/src/x87/codegen-x87.cc b/src/x87/codegen-x87.cc |
index ca9d722925cab7797a88ee2cc6fb7980f4d2b243..c66166f7f0e4e1443c06a90115bb3c0120f5ccba 100644 |
--- a/src/x87/codegen-x87.cc |
+++ b/src/x87/codegen-x87.cc |
@@ -593,7 +593,8 @@ void StringCharLoadGenerator::Generate(MacroAssembler* masm, |
CodeAgingHelper::CodeAgingHelper(Isolate* isolate) { |
USE(isolate); |
DCHECK(young_sequence_.length() == kNoCodeAgeSequenceLength); |
- CodePatcher patcher(young_sequence_.start(), young_sequence_.length()); |
+ CodePatcher patcher(isolate, young_sequence_.start(), |
+ young_sequence_.length()); |
patcher.masm()->push(ebp); |
patcher.masm()->mov(ebp, esp); |
patcher.masm()->push(esi); |
@@ -640,7 +641,7 @@ void Code::PatchPlatformCodeAge(Isolate* isolate, |
Assembler::FlushICache(isolate, sequence, young_length); |
} else { |
Code* stub = GetCodeAgeStub(isolate, age, parity); |
- CodePatcher patcher(sequence, young_length); |
+ CodePatcher patcher(isolate, sequence, young_length); |
patcher.masm()->call(stub->instruction_start(), RelocInfo::NONE32); |
} |
} |