Index: src/crankshaft/hydrogen.cc |
diff --git a/src/crankshaft/hydrogen.cc b/src/crankshaft/hydrogen.cc |
index 9af298abd91d91be229575b37a25d18850c78d6a..93afc0d29327f18d192693014e6a54d052f76d03 100644 |
--- a/src/crankshaft/hydrogen.cc |
+++ b/src/crankshaft/hydrogen.cc |
@@ -7399,7 +7399,7 @@ bool HOptimizedGraphBuilder::TryArgumentsAccess(Property* expr) { |
} else { |
// We need to take into account the KEYED_LOAD_IC feedback to guard the |
// HBoundsCheck instructions below. |
- if (!expr->IsMonomorphic()) return false; |
+ if (!expr->IsMonomorphic() && !expr->IsUninitialized()) return false; |
if (IsAnyParameterContextAllocated()) return false; |
CHECK_ALIVE_OR_RETURN(VisitForValue(expr->obj(), ARGUMENTS_ALLOWED), true); |
CHECK_ALIVE_OR_RETURN(VisitForValue(expr->key()), true); |