Chromium Code Reviews| Index: src/heap.cc |
| diff --git a/src/heap.cc b/src/heap.cc |
| index e641991cc574e4bae49535e929991adda6f51a7d..23ec9472d8d7b78d588f35b5f79b1eac7fb1a41c 100644 |
| --- a/src/heap.cc |
| +++ b/src/heap.cc |
| @@ -6209,7 +6209,7 @@ static void InitializeGCOnce() { |
| MarkCompactCollector::Initialize(); |
| } |
| -bool Heap::SetUp(bool create_heap_objects) { |
| +bool Heap::Prepare() { |
|
Michael Starzinger
2013/02/21 19:39:23
I think it makes more sense to keep this method be
danno
2013/02/25 11:11:23
Done.
|
| #ifdef DEBUG |
| allocation_timeout_ = FLAG_gc_interval; |
| #endif |
| @@ -6300,6 +6300,10 @@ bool Heap::SetUp(bool create_heap_objects) { |
| } |
| } |
| + return true; |
| +} |
| + |
| +bool Heap::SetUp(bool create_heap_objects) { |
| if (create_heap_objects) { |
| // Create initial maps. |
| if (!CreateInitialMaps()) return false; |