Index: src/mips/lithium-codegen-mips.cc |
diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc |
index edbc9b5ed0f911ca44d02fb625d465403881e6f0..7311db6a127da5d04fed5dac8aef783b55e89a1a 100644 |
--- a/src/mips/lithium-codegen-mips.cc |
+++ b/src/mips/lithium-codegen-mips.cc |
@@ -4382,7 +4382,8 @@ void LCodeGen::DoTransitionElementsKind(LTransitionElementsKind* instr) { |
this, Safepoint::kWithRegistersAndDoubles); |
__ mov(a0, object_reg); |
__ li(a1, Operand(to_map)); |
- TransitionElementsKindStub stub(from_kind, to_kind); |
+ bool is_js_array = from_map->instance_type() == JS_ARRAY_TYPE; |
+ TransitionElementsKindStub stub(from_kind, to_kind, is_js_array); |
__ CallStub(&stub); |
RecordSafepointWithRegistersAndDoubles( |
instr->pointer_map(), 0, Safepoint::kNoLazyDeopt); |