Index: src/mips/lithium-codegen-mips.cc |
diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc |
index 02ca14534a7512d21e5c3e2db9b5a241e5a45a99..638a9d1a511e0a9ecbc543908daf43102f024fbd 100644 |
--- a/src/mips/lithium-codegen-mips.cc |
+++ b/src/mips/lithium-codegen-mips.cc |
@@ -4218,7 +4218,7 @@ void LCodeGen::DoTransitionElementsKind(LTransitionElementsKind* instr) { |
__ Branch(¬_applicable, ne, scratch, Operand(from_map)); |
__ li(new_map_reg, Operand(to_map)); |
- if (IsFastSmiElementsKind(from_kind) && IsFastObjectElementsKind(to_kind)) { |
+ if (IsSimpleMapChangeTransition(from_kind, to_kind)) { |
__ sw(new_map_reg, FieldMemOperand(object_reg, HeapObject::kMapOffset)); |
// Write barrier. |
__ RecordWriteField(object_reg, HeapObject::kMapOffset, new_map_reg, |