| Index: src/mips/ic-mips.cc
|
| diff --git a/src/mips/ic-mips.cc b/src/mips/ic-mips.cc
|
| index a76c215a483829e2a51b1982fc87f1614ec16d64..13f28028a4e67a10df76b1e53084fef2b6869db5 100644
|
| --- a/src/mips/ic-mips.cc
|
| +++ b/src/mips/ic-mips.cc
|
| @@ -1572,7 +1572,8 @@ void PatchInlinedSmiCode(Address address) {
|
| // If the instruction following the call is not a andi at, rx, #yyy, nothing
|
| // was inlined.
|
| Instr instr = Assembler::instr_at(andi_instruction_address);
|
| - if (!Assembler::IsAndImmediate(instr)) {
|
| + if (!(Assembler::IsAndImmediate(instr) &&
|
| + Assembler::GetRt(instr) == (uint32_t)zero_reg.code())) {
|
| return;
|
| }
|
|
|
|
|