Index: src/heap.h |
diff --git a/src/heap.h b/src/heap.h |
index 67152c0c8df040468d03f5df9ab1f6cd6f618266..c6c841bf0312d062a83cd47c68375b43d50df44b 100644 |
--- a/src/heap.h |
+++ b/src/heap.h |
@@ -480,6 +480,10 @@ class Heap { |
intptr_t max_executable_size); |
bool ConfigureHeapDefault(); |
+ // Prepares the heap to be initialized, setting up memory areas that are |
+ // needed in the isolate without doing the full heap setup. |
+ bool Prepare(); |
+ |
// Initializes the global object heap. If create_heap_objects is true, |
// also creates the basic non-mutable objects. |
// Returns whether it succeeded. |