Index: src/crankshaft/arm64/lithium-codegen-arm64.cc |
diff --git a/src/crankshaft/arm64/lithium-codegen-arm64.cc b/src/crankshaft/arm64/lithium-codegen-arm64.cc |
index 86c131c618eea517d9e44f9ed8ae97713466ccf9..3cee77b61687b539ff28820b8225fea8cd1bc65c 100644 |
--- a/src/crankshaft/arm64/lithium-codegen-arm64.cc |
+++ b/src/crankshaft/arm64/lithium-codegen-arm64.cc |
@@ -5457,8 +5457,7 @@ void LCodeGen::DoTransitionElementsKind(LTransitionElementsKind* instr) { |
DCHECK(ToRegister(instr->context()).is(cp)); |
PushSafepointRegistersScope scope(this); |
__ Mov(x1, Operand(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); |