| Index: src/factory.cc
|
| diff --git a/src/factory.cc b/src/factory.cc
|
| index f99ea9bcf5554496445ebff32be26ef3078f6759..b975c165e14928efd8a87379b887c706a211276f 100644
|
| --- a/src/factory.cc
|
| +++ b/src/factory.cc
|
| @@ -1990,7 +1990,7 @@ void Factory::SetNumberStringCache(Handle<Object> number,
|
| // cache in the snapshot to keep boot-time memory usage down.
|
| // If we expand the number string cache already while creating
|
| // the snapshot then that didn't work out.
|
| - ASSERT(!Serializer::enabled(isolate()) || FLAG_extra_code != NULL);
|
| + ASSERT(!isolate()->serializer_enabled() || FLAG_extra_code != NULL);
|
| Handle<FixedArray> new_cache = NewFixedArray(full_size, TENURED);
|
| isolate()->heap()->set_number_string_cache(*new_cache);
|
| return;
|
|
|