Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index 77fa1cb07019061363af868bb813eff2fbeaa6c6..987d60b334115809200ccec79c35c489da3ffaa6 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -7215,7 +7215,7 @@ HValue* HOptimizedGraphBuilder::HandleKeyedElementAccess( |
bool monomorphic = ComputeReceiverTypes(expr, obj, &types, zone()); |
bool force_generic = false; |
- if (access_type == STORE && expr->GetKeyType() == PROPERTY) { |
+ if (expr->GetKeyType() == PROPERTY) { |
// Non-Generic accesses assume that elements are being accessed, and will |
// deopt for non-index keys, which the IC knows will occur. |
// TODO(jkummerow): Consider adding proper support for property accesses. |