| Index: src/ic/mips64/ic-mips64.cc
|
| diff --git a/src/ic/mips64/ic-mips64.cc b/src/ic/mips64/ic-mips64.cc
|
| index 377fffe816b642de45846773d82791bdfe85094c..5d1183cd240fce5dddb6cf6669b46f3de8831dc2 100644
|
| --- a/src/ic/mips64/ic-mips64.cc
|
| +++ b/src/ic/mips64/ic-mips64.cc
|
| @@ -837,7 +837,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;
|
|
|
| @@ -877,7 +878,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));
|
|
|