Index: src/ia32/codegen-ia32.cc |
diff --git a/src/ia32/codegen-ia32.cc b/src/ia32/codegen-ia32.cc |
index cf42dd99852d4bd2ee27e9b62cfa79a0b8f98e8d..2f94f356650d2628c1fece365582a90b6883dbe2 100644 |
--- a/src/ia32/codegen-ia32.cc |
+++ b/src/ia32/codegen-ia32.cc |
@@ -991,7 +991,8 @@ void MathExpGenerator::EmitMathExp(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); |
@@ -1038,7 +1039,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); |
} |
} |