| Index: src/factory.cc
|
| diff --git a/src/factory.cc b/src/factory.cc
|
| index 272383c608355b5d671e88a288ea8cc96c5b3eca..c52e6bc2348774da2ec54a688fa8db04d37912da 100644
|
| --- a/src/factory.cc
|
| +++ b/src/factory.cc
|
| @@ -1933,7 +1933,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() || FLAG_extra_code != NULL);
|
| + ASSERT(!Serializer::enabled(isolate()) || FLAG_extra_code != NULL);
|
| Handle<FixedArray> new_cache = NewFixedArray(full_size, TENURED);
|
| isolate()->heap()->set_number_string_cache(*new_cache);
|
| return;
|
|
|