Index: src/heap.h |
diff --git a/src/heap.h b/src/heap.h |
index eaa4cd03c93d6eeb5a43bc7a5c2b847aa5d833ad..ada91aea16d079a0257b1df7a1ee82f0b85df188 100644 |
--- a/src/heap.h |
+++ b/src/heap.h |
@@ -480,10 +480,13 @@ class Heap { |
intptr_t max_executable_size); |
bool ConfigureHeapDefault(); |
- // Initializes the global object heap. If create_heap_objects is true, |
- // also creates the basic non-mutable objects. |
+ // Prepares the heap, setting up memory areas that are needed in the isolate |
+ // without actually actually creating any objects. |
Michael Starzinger
2013/02/25 12:00:57
Drop one of the two "actually" in the comment.
danno
2013/02/25 14:25:05
Done.
|
+ bool SetUp(); |
+ |
+ // Bootstraps the object heap with the core set of objects required to run. |
// Returns whether it succeeded. |
- bool SetUp(bool create_heap_objects); |
+ bool CreateHeapObjects(); |
// Destroys all memory allocated by the heap. |
void TearDown(); |