Index: src/crankshaft/ppc/lithium-codegen-ppc.cc |
diff --git a/src/crankshaft/ppc/lithium-codegen-ppc.cc b/src/crankshaft/ppc/lithium-codegen-ppc.cc |
index 2cd27f25165c89c7aa4aae38ae24271f279a87ee..eb434fa5db62382715d66d90824c280ee9b23687 100644 |
--- a/src/crankshaft/ppc/lithium-codegen-ppc.cc |
+++ b/src/crankshaft/ppc/lithium-codegen-ppc.cc |
@@ -4485,8 +4485,7 @@ void LCodeGen::DoTransitionElementsKind(LTransitionElementsKind* instr) { |
DCHECK(object_reg.is(r3)); |
PushSafepointRegistersScope scope(this); |
__ Move(r4, 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); |