Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index 14046b410d476ecf2173e928a960a51068901317..c44ba8a479a4ef9f06f08a590722af73fb60b802 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -6921,9 +6921,6 @@ HInstruction* HOptimizedGraphBuilder::BuildMonomorphicElementAccess( |
PropertyAccessType access_type, |
KeyedAccessStoreMode store_mode) { |
HCheckMaps* checked_object = Add<HCheckMaps>(object, map, dependency); |
- if (dependency) { |
- checked_object->ClearDependsOnFlag(kElementsKind); |
- } |
if (access_type == STORE && map->prototype()->IsJSObject()) { |
// monomorphic stores need a prototype chain check because shape |