| Index: src/isolate.cc
|
| diff --git a/src/isolate.cc b/src/isolate.cc
|
| index 8a30e7924fb9215c278f1467ba1d99b35fc5e54a..5186b98460387e9e48f49aea93598f94ec2aa838 100644
|
| --- a/src/isolate.cc
|
| +++ b/src/isolate.cc
|
| @@ -243,7 +243,7 @@ void Isolate::PreallocatedStorageInit(size_t size) {
|
|
|
| void* Isolate::PreallocatedStorageNew(size_t size) {
|
| if (!preallocated_storage_preallocated_) {
|
| - return FreeStoreAllocationPolicy::New(size);
|
| + return FreeStoreAllocator().New(size);
|
| }
|
| ASSERT(free_list_.next_ != &free_list_);
|
| ASSERT(free_list_.previous_ != &free_list_);
|
| @@ -289,7 +289,7 @@ void Isolate::PreallocatedStorageDelete(void* p) {
|
| return;
|
| }
|
| if (!preallocated_storage_preallocated_) {
|
| - FreeStoreAllocationPolicy::Delete(p);
|
| + FreeStoreAllocator().Delete(p);
|
| return;
|
| }
|
| PreallocatedStorage* storage = reinterpret_cast<PreallocatedStorage*>(p) - 1;
|
|
|