| Index: src/factory.cc
|
| diff --git a/src/factory.cc b/src/factory.cc
|
| index 3c3b187f7d02b9b497c47b01eca0de1f4aa58efb..59ac419300a9c6a8fa063642755f88a7a0cb6ffd 100644
|
| --- a/src/factory.cc
|
| +++ b/src/factory.cc
|
| @@ -1938,7 +1938,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;
|
|
|