Index: src/crankshaft/x64/lithium-codegen-x64.cc |
diff --git a/src/crankshaft/x64/lithium-codegen-x64.cc b/src/crankshaft/x64/lithium-codegen-x64.cc |
index 0bf324381c7f3fe63a7261b1d513ec9df3914ace..7d3398ee671eed71cee0cb4aa69bc1b7cf5d023b 100644 |
--- a/src/crankshaft/x64/lithium-codegen-x64.cc |
+++ b/src/crankshaft/x64/lithium-codegen-x64.cc |
@@ -4296,8 +4296,7 @@ void LCodeGen::DoTransitionElementsKind(LTransitionElementsKind* instr) { |
DCHECK(ToRegister(instr->context()).is(rsi)); |
PushSafepointRegistersScope scope(this); |
__ Move(rbx, 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); |
RecordSafepointWithLazyDeopt(instr, RECORD_SAFEPOINT_WITH_REGISTERS, 0); |
} |