| Index: src/arm/lithium-codegen-arm.cc
|
| diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc
|
| index 3a0f476b5af475ebc58713a420d3eb40464bb09a..874ead6a3f49d60aac38bc1a82d35025e1588d11 100644
|
| --- a/src/arm/lithium-codegen-arm.cc
|
| +++ b/src/arm/lithium-codegen-arm.cc
|
| @@ -95,6 +95,12 @@ void LCodeGen::FinishCode(Handle<Code> code) {
|
| transition_maps_.at(i)->AddDependentCode(
|
| DependentCode::kTransitionGroup, code);
|
| }
|
| + if (graph()->depends_on_empty_array_proto_elements()) {
|
| + isolate()->initial_object_prototype()->map()->AddDependentCode(
|
| + DependentCode::kElementsCantBeAddedGroup, code);
|
| + isolate()->initial_array_prototype()->map()->AddDependentCode(
|
| + DependentCode::kElementsCantBeAddedGroup, code);
|
| + }
|
| }
|
|
|
|
|
|
|