Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index 2a1525810ee8eb14801d27301f96dde9cbc5dd15..7b1c537a582d2ed03764cad86ceb857ef11147f8 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -4359,7 +4359,8 @@ void LCodeGen::DoTransitionElementsKind(LTransitionElementsKind* instr) { |
this, Safepoint::kWithRegistersAndDoubles); |
__ Move(r0, object_reg); |
__ Move(r1, 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); |