Index: src/arm64/codegen-arm64.cc |
diff --git a/src/arm64/codegen-arm64.cc b/src/arm64/codegen-arm64.cc |
index ea19584c1dcc37f0903f7786241cf70453a4c165..c2073f1f4b6b41a893a0ce56e7c9aea25de94bc5 100644 |
--- a/src/arm64/codegen-arm64.cc |
+++ b/src/arm64/codegen-arm64.cc |
@@ -373,7 +373,7 @@ CodeAgingHelper::CodeAgingHelper(Isolate* isolate) { |
// The sequence of instructions that is patched out for aging code is the |
// following boilerplate stack-building prologue that is found both in |
// FUNCTION and OPTIMIZED_FUNCTION code: |
- PatchingAssembler patcher(young_sequence_.start(), |
+ PatchingAssembler patcher(isolate, young_sequence_.start(), |
young_sequence_.length() / kInstructionSize); |
// The young sequence is the frame setup code for FUNCTION code types. It is |
// generated by FullCodeGenerator::Generate. |
@@ -382,7 +382,7 @@ CodeAgingHelper::CodeAgingHelper(Isolate* isolate) { |
#ifdef DEBUG |
const int length = kCodeAgeStubEntryOffset / kInstructionSize; |
DCHECK(old_sequence_.length() >= kCodeAgeStubEntryOffset); |
- PatchingAssembler patcher_old(old_sequence_.start(), length); |
+ PatchingAssembler patcher_old(isolate, old_sequence_.start(), length); |
MacroAssembler::EmitCodeAgeSequence(&patcher_old, NULL); |
#endif |
} |
@@ -417,7 +417,7 @@ void Code::PatchPlatformCodeAge(Isolate* isolate, |
byte* sequence, |
Code::Age age, |
MarkingParity parity) { |
- PatchingAssembler patcher(sequence, |
+ PatchingAssembler patcher(isolate, sequence, |
kNoCodeAgeSequenceLength / kInstructionSize); |
if (age == kNoAgeCodeAge) { |
MacroAssembler::EmitFrameSetupForCodeAgePatching(&patcher); |