Chromium Code Reviews| Index: src/heap.cc |
| =================================================================== |
| --- src/heap.cc (revision 2724) |
| +++ src/heap.cc (working copy) |
| @@ -485,7 +485,9 @@ |
| void Heap::PostGarbageCollectionProcessing() { |
| // Process weak handles post gc. |
| + bool old_value = allow_allocation(true); |
| GlobalHandles::PostGarbageCollectionProcessing(); |
| + if (!old_value) allow_allocation(false); |
|
Mads Ager (chromium)
2009/08/21 05:58:16
Just call allow_allocation with old_value?
|
| // Update flat string readers. |
| FlatStringReader::PostGarbageCollectionProcessing(); |
| } |