Index: src/isolate.cc |
diff --git a/src/isolate.cc b/src/isolate.cc |
index a6890c78e3aa6dcc7f9ebf3355ab1b21f61b58aa..6fcc926f259a9b6ee07c2dc28a7f7084f6b4b208 100644 |
--- a/src/isolate.cc |
+++ b/src/isolate.cc |
@@ -256,7 +256,7 @@ void Isolate::PreallocatedStorageInit(size_t size) { |
void* Isolate::PreallocatedStorageNew(size_t size) { |
if (!preallocated_storage_preallocated_) { |
- return FreeStoreAllocationPolicy::New(size); |
+ return FreeStoreAllocationPolicy().New(size); |
} |
ASSERT(free_list_.next_ != &free_list_); |
ASSERT(free_list_.previous_ != &free_list_); |