| Index: src/heap.h
|
| diff --git a/src/heap.h b/src/heap.h
|
| index 5aba05d9e72b524acbed5ceb4a87bbdfbf3ec925..107e5fd15b36fb8ae3e346baca3ff381f5adff5a 100644
|
| --- a/src/heap.h
|
| +++ b/src/heap.h
|
| @@ -409,12 +409,6 @@ class Heap {
|
| // Uncommit unused semi space.
|
| bool UncommitFromSpace() { return new_space_.UncommitFromSpace(); }
|
|
|
| -#ifdef ENABLE_HEAP_PROTECTION
|
| - // Protect/unprotect the heap by marking all spaces read-only/writable.
|
| - void Protect();
|
| - void Unprotect();
|
| -#endif
|
| -
|
| // Allocates and initializes a new JavaScript object based on a
|
| // constructor.
|
| // Returns Failure::RetryAfterGC(requested_bytes, space) if the allocation
|
|
|