| Index: src/mips/code-stubs-mips.cc
 | 
| diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc
 | 
| index 5191e3659631741ffb117c8d2b707a5f46264e6b..e77aaf626f3f1befb678ea934c725f521cc6c622 100644
 | 
| --- a/src/mips/code-stubs-mips.cc
 | 
| +++ b/src/mips/code-stubs-mips.cc
 | 
| @@ -1468,6 +1468,13 @@ void InstanceofStub::Generate(MacroAssembler* masm) {
 | 
|      // Get the map location in scratch and patch it.
 | 
|      __ GetRelocatedValue(inline_site, scratch, v1);  // v1 used as scratch.
 | 
|      __ sw(map, FieldMemOperand(scratch, Cell::kValueOffset));
 | 
| +
 | 
| +    __ mov(t4, map);
 | 
| +    // Scratch points at the cell payload. Calculate the start of the object.
 | 
| +    __ Subu(scratch, scratch, Operand(Cell::kValueOffset - 1));
 | 
| +    __ RecordWriteField(scratch, Cell::kValueOffset, t4, function,
 | 
| +                        kRAHasNotBeenSaved, kDontSaveFPRegs,
 | 
| +                        OMIT_REMEMBERED_SET, OMIT_SMI_CHECK);
 | 
|    }
 | 
|  
 | 
|    // Register mapping: a3 is object map and t0 is function prototype.
 | 
| 
 |