Index: src/ic/mips/ic-mips.cc |
diff --git a/src/ic/mips/ic-mips.cc b/src/ic/mips/ic-mips.cc |
index 5f2c0aa6f4326ea574f0bfd9998f0d7a5e0169b5..91f095fc0d750a01e6f2b268841aad813c9c155c 100644 |
--- a/src/ic/mips/ic-mips.cc |
+++ b/src/ic/mips/ic-mips.cc |
@@ -840,7 +840,8 @@ bool CompareIC::HasInlinedSmiCode(Address address) { |
} |
-void PatchInlinedSmiCode(Address address, InlinedSmiCheck check) { |
+void PatchInlinedSmiCode(Isolate* isolate, Address address, |
+ InlinedSmiCheck check) { |
Address andi_instruction_address = |
address + Assembler::kCallTargetAddressOffset; |
@@ -878,7 +879,7 @@ void PatchInlinedSmiCode(Address address, InlinedSmiCheck check) { |
// andi at, rx, #kSmiTagMask |
// Branch <target>, ne, at, Operand(zero_reg) |
// and vice-versa to be disabled again. |
- CodePatcher patcher(patch_address, 2); |
+ CodePatcher patcher(isolate, patch_address, 2); |
Register reg = Register::from_code(Assembler::GetRs(instr_at_patch)); |
if (check == ENABLE_INLINED_SMI_CHECK) { |
DCHECK(Assembler::IsAndImmediate(instr_at_patch)); |