| Index: src/compiler.cc
|
| diff --git a/src/compiler.cc b/src/compiler.cc
|
| index 2873525604cf0a777546b64a11d5aac1586b9b22..d70ba997b07558309867fc3341b4c898acb19af2 100644
|
| --- a/src/compiler.cc
|
| +++ b/src/compiler.cc
|
| @@ -508,9 +508,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;
|
|
|