| Index: src/ia32/lithium-codegen-ia32.cc
|
| diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc
|
| index 36e876dc22c19841d27f87bdadb9adf8df6c2f14..7d62d5c76e535117f32c1a9627b2b9f68d03a318 100644
|
| --- a/src/ia32/lithium-codegen-ia32.cc
|
| +++ b/src/ia32/lithium-codegen-ia32.cc
|
| @@ -4726,7 +4726,8 @@ void LCodeGen::DoTransitionElementsKind(LTransitionElementsKind* instr) {
|
| __ mov(eax, object_reg);
|
| }
|
| __ mov(ebx, 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);
|
| RecordSafepointWithRegisters(
|
| instr->pointer_map(), 0, Safepoint::kNoLazyDeopt);
|
|
|