| Index: src/mips/ic-mips.cc
|
| diff --git a/src/mips/ic-mips.cc b/src/mips/ic-mips.cc
|
| index 9030794b8fd0701d377480f96107b7d2cc840c0b..0f9d687b5cfa6a014e22aea5ddf1b7d920e23ea4 100644
|
| --- a/src/mips/ic-mips.cc
|
| +++ b/src/mips/ic-mips.cc
|
| @@ -1703,7 +1703,7 @@ bool CompareIC::HasInlinedSmiCode(Address address) {
|
| // was inlined.
|
| Instr instr = Assembler::instr_at(andi_instruction_address);
|
| return Assembler::IsAndImmediate(instr) &&
|
| - Assembler::GetRt(instr) == (uint32_t)zero_reg.code();
|
| + Assembler::GetRt(instr) == static_cast<uint32_t>(zero_reg.code());
|
| }
|
|
|
|
|
| @@ -1715,7 +1715,7 @@ void PatchInlinedSmiCode(Address address, InlinedSmiCheck check) {
|
| // was inlined.
|
| Instr instr = Assembler::instr_at(andi_instruction_address);
|
| if (!(Assembler::IsAndImmediate(instr) &&
|
| - Assembler::GetRt(instr) == (uint32_t)zero_reg.code())) {
|
| + Assembler::GetRt(instr) == static_cast<uint32_t>(zero_reg.code()))) {
|
| return;
|
| }
|
|
|
|
|