Index: src/crankshaft/arm/lithium-codegen-arm.cc |
diff --git a/src/crankshaft/arm/lithium-codegen-arm.cc b/src/crankshaft/arm/lithium-codegen-arm.cc |
index 276ccf376c5b50bb5868fd588b2f857a90cf26cc..8f8a7b80037b92ff98867412e2a65409cf08ca5b 100644 |
--- a/src/crankshaft/arm/lithium-codegen-arm.cc |
+++ b/src/crankshaft/arm/lithium-codegen-arm.cc |
@@ -4214,8 +4214,7 @@ void LCodeGen::DoTransitionElementsKind(LTransitionElementsKind* instr) { |
DCHECK(object_reg.is(r0)); |
PushSafepointRegistersScope scope(this); |
__ Move(r1, to_map); |
- bool is_js_array = from_map->instance_type() == JS_ARRAY_TYPE; |
- TransitionElementsKindStub stub(isolate(), from_kind, to_kind, is_js_array); |
+ TransitionElementsKindStub stub(isolate(), from_kind, to_kind); |
__ CallStub(&stub); |
RecordSafepointWithRegisters( |
instr->pointer_map(), 0, Safepoint::kLazyDeopt); |