| Index: src/compiler.cc
|
| diff --git a/src/compiler.cc b/src/compiler.cc
|
| index 2873525604cf0a777546b64a11d5aac1586b9b22..b20a25291d75cdc69452ddaa2d259830b7362e3a 100644
|
| --- a/src/compiler.cc
|
| +++ b/src/compiler.cc
|
| @@ -518,7 +518,7 @@ void SetExpectedNofPropertiesFromEstimate(Handle<SharedFunctionInfo> shared,
|
| // TODO(yangguo): check whether those heuristics are still up-to-date.
|
| // We do not shrink objects that go into a snapshot (yet), so we adjust
|
| // the estimate conservatively.
|
| - if (Serializer::enabled(shared->GetIsolate())) {
|
| + if (shared->GetIsolate()->serializer_enabled()) {
|
| estimate += 2;
|
| } else if (FLAG_clever_optimizations) {
|
| // Inobject slack tracking will reclaim redundant inobject space later,
|
|
|