Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index f027094cc7658fa516ee9f287885591880f81baa..7b1e5b12b0fc1de0a699d9c1dcea2dacdb135ae5 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -5621,6 +5621,8 @@ void HOptimizedGraphBuilder::VisitObjectLiteral(ObjectLiteral* expr) { |
DCHECK(!CompileTimeValue::IsCompileTimeValue(value)); |
// Fall through. |
case ObjectLiteral::Property::COMPUTED: |
+ // It is safe to use [[Put]] here because the boilerplate already |
+ // contains computed properties with an uninitialized value. |
if (key->value()->IsInternalizedString()) { |
if (property->emit_store()) { |
CHECK_ALIVE(VisitForValue(value)); |