Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index 4e55d223806f63242cc877f33607dbedfea777a3..f1736c1a0498f974932d0f9e0b2d13aa4a0acc9f 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -510,9 +510,6 @@ void OptimizedCompileJob::RecordOptimizationStats() { |
// Sets the expected number of properties based on estimate from compiler. |
void SetExpectedNofPropertiesFromEstimate(Handle<SharedFunctionInfo> shared, |
int estimate) { |
- // See the comment in SetExpectedNofProperties. |
- if (shared->live_objects_may_exist()) return; |
- |
// If no properties are added in the constructor, they are more likely |
// to be added later. |
if (estimate == 0) estimate = 2; |