Index: src/full-codegen/arm/full-codegen-arm.cc |
diff --git a/src/full-codegen/arm/full-codegen-arm.cc b/src/full-codegen/arm/full-codegen-arm.cc |
index a296b3ee3f2d5a457f7eb1ec4c75244ecc4a3a65..177d8486611dda8708b8f88b625013de0d3b813e 100644 |
--- a/src/full-codegen/arm/full-codegen-arm.cc |
+++ b/src/full-codegen/arm/full-codegen-arm.cc |
@@ -4925,7 +4925,8 @@ void BackEdgeTable::PatchAt(Code* unoptimized_code, |
Code* replacement_code) { |
Address pc_immediate_load_address = GetInterruptImmediateLoadAddress(pc); |
Address branch_address = pc_immediate_load_address - Assembler::kInstrSize; |
- CodePatcher patcher(unoptimized_code->GetIsolate(), branch_address, 1); |
+ Isolate* isolate = unoptimized_code->GetIsolate(); |
+ CodePatcher patcher(isolate, branch_address, 1); |
switch (target_state) { |
case INTERRUPT: |
{ |
@@ -4977,8 +4978,8 @@ void BackEdgeTable::PatchAt(Code* unoptimized_code, |
} |
// Replace the call address. |
- Assembler::set_target_address_at(pc_immediate_load_address, unoptimized_code, |
- replacement_code->entry()); |
+ Assembler::set_target_address_at(isolate, pc_immediate_load_address, |
+ unoptimized_code, replacement_code->entry()); |
unoptimized_code->GetHeap()->incremental_marking()->RecordCodeTargetPatch( |
unoptimized_code, pc_immediate_load_address, replacement_code); |