From ef1be160d66b7da8bc2da857b1c33c6f680d86f1 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Fri, 15 Jul 2011 17:47:20 -0700 Subject: Upgrade V8 to 3.4.12.1 --- deps/v8/src/spaces-inl.h | 29 ----------------------------- 1 file changed, 29 deletions(-) (limited to 'deps/v8/src/spaces-inl.h') diff --git a/deps/v8/src/spaces-inl.h b/deps/v8/src/spaces-inl.h index 070f970577..ca1177f33c 100644 --- a/deps/v8/src/spaces-inl.h +++ b/deps/v8/src/spaces-inl.h @@ -378,35 +378,6 @@ bool MemoryAllocator::InInitialChunk(Address address) { } -#ifdef ENABLE_HEAP_PROTECTION - -void MemoryAllocator::Protect(Address start, size_t size) { - OS::Protect(start, size); -} - - -void MemoryAllocator::Unprotect(Address start, - size_t size, - Executability executable) { - OS::Unprotect(start, size, executable); -} - - -void MemoryAllocator::ProtectChunkFromPage(Page* page) { - int id = GetChunkId(page); - OS::Protect(chunks_[id].address(), chunks_[id].size()); -} - - -void MemoryAllocator::UnprotectChunkFromPage(Page* page) { - int id = GetChunkId(page); - OS::Unprotect(chunks_[id].address(), chunks_[id].size(), - chunks_[id].owner()->executable() == EXECUTABLE); -} - -#endif - - // -------------------------------------------------------------------------- // PagedSpace -- cgit v1.2.1