Index: src/full-codegen/mips/full-codegen-mips.cc |
diff --git a/src/full-codegen/mips/full-codegen-mips.cc b/src/full-codegen/mips/full-codegen-mips.cc |
index b57903a49f39459a57172ca7fba190b06f0aea60..f79e10a918957747975d8d8e4293d2066da9f613 100644 |
--- a/src/full-codegen/mips/full-codegen-mips.cc |
+++ b/src/full-codegen/mips/full-codegen-mips.cc |
@@ -4909,7 +4909,8 @@ void BackEdgeTable::PatchAt(Code* unoptimized_code, |
Code* replacement_code) { |
static const int kInstrSize = Assembler::kInstrSize; |
Address branch_address = pc - 6 * 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: |
@@ -4937,7 +4938,7 @@ void BackEdgeTable::PatchAt(Code* unoptimized_code, |
Address pc_immediate_load_address = pc - 4 * kInstrSize; |
// Replace the stack check address in the load-immediate (lui/ori pair) |
// 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( |