Index: src/x64/lithium-codegen-x64.cc |
diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc |
index 2d6e4cba33c6ebf86ea0877451657cc7325fcdd5..b07655de7e723ed1f75e337465dec42d39a8a86c 100644 |
--- a/src/x64/lithium-codegen-x64.cc |
+++ b/src/x64/lithium-codegen-x64.cc |
@@ -98,12 +98,6 @@ 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); |
- } |
} |