Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index 74bf48961177ee7baa2063d294005c10bb7f93bf..3fc4a62b496461a2225b524672a9fd733aa434ab 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -6484,6 +6484,9 @@ void HOptimizedGraphBuilder::HandlePropertyAssignment(Assignment* expr) { |
return HandlePolymorphicStoreNamedField(expr, object, value, types, name); |
} else { |
Drop(2); |
+ if (expr->IsUninitialized()) { |
+ AddSoftDeoptimize(); |
+ } |
instr = BuildStoreNamedGeneric(object, name, value); |
} |