Index: src/full-codegen/mips64/full-codegen-mips64.cc |
diff --git a/src/full-codegen/mips64/full-codegen-mips64.cc b/src/full-codegen/mips64/full-codegen-mips64.cc |
index 6401274f74c2379462862be900cadd22bd892c34..c8a0753f91eb9e40cd5b35be13841f42f740ce9c 100644 |
--- a/src/full-codegen/mips64/full-codegen-mips64.cc |
+++ b/src/full-codegen/mips64/full-codegen-mips64.cc |
@@ -4913,7 +4913,8 @@ void BackEdgeTable::PatchAt(Code* unoptimized_code, |
Code* replacement_code) { |
static const int kInstrSize = Assembler::kInstrSize; |
Address branch_address = pc - 8 * 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: |
@@ -4945,7 +4946,7 @@ void BackEdgeTable::PatchAt(Code* unoptimized_code, |
Address pc_immediate_load_address = pc - 6 * kInstrSize; |
// Replace the stack check address in the load-immediate (6-instr sequence) |
// with the entry address of the replacement code. |
- Assembler::set_target_address_at(pc_immediate_load_address, |
+ Assembler::set_target_address_at(isolate, pc_immediate_load_address, |
replacement_code->entry()); |
unoptimized_code->GetHeap()->incremental_marking()->RecordCodeTargetPatch( |