| Index: src/heap.cc
|
| diff --git a/src/heap.cc b/src/heap.cc
|
| index 508bdf3c49a374015cc4151f38fac8ad26ef6469..317744e7505fc48e66c5e620b7b1854d7ad2db94 100644
|
| --- a/src/heap.cc
|
| +++ b/src/heap.cc
|
| @@ -5213,28 +5213,6 @@ void Heap::Shrink() {
|
| }
|
|
|
|
|
| -#ifdef ENABLE_HEAP_PROTECTION
|
| -
|
| -void Heap::Protect() {
|
| - if (HasBeenSetup()) {
|
| - AllSpaces spaces;
|
| - for (Space* space = spaces.next(); space != NULL; space = spaces.next())
|
| - space->Protect();
|
| - }
|
| -}
|
| -
|
| -
|
| -void Heap::Unprotect() {
|
| - if (HasBeenSetup()) {
|
| - AllSpaces spaces;
|
| - for (Space* space = spaces.next(); space != NULL; space = spaces.next())
|
| - space->Unprotect();
|
| - }
|
| -}
|
| -
|
| -#endif
|
| -
|
| -
|
| void Heap::AddGCPrologueCallback(GCPrologueCallback callback, GCType gc_type) {
|
| ASSERT(callback != NULL);
|
| GCPrologueCallbackPair pair(callback, gc_type);
|
|
|