diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2011-07-15 17:47:20 -0700 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2011-07-15 17:47:20 -0700 |
commit | ef1be160d66b7da8bc2da857b1c33c6f680d86f1 (patch) | |
tree | a1ff31aa2841ebde94d9bff4b0f6692840ea811b /deps/v8/src/spaces-inl.h | |
parent | e5564a3f29e0a818832a97c7c3b28d7c8b3b0460 (diff) | |
download | node-new-ef1be160d66b7da8bc2da857b1c33c6f680d86f1.tar.gz |
Upgrade V8 to 3.4.12.1
Diffstat (limited to 'deps/v8/src/spaces-inl.h')
-rw-r--r-- | deps/v8/src/spaces-inl.h | 29 |
1 files changed, 0 insertions, 29 deletions
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 |