diff options
author | Ulf Hermann <ulf.hermann@digia.com> | 2014-10-21 17:21:56 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@digia.com> | 2014-10-30 13:19:45 +0100 |
commit | 2fb59fe64b75ba1d2c7f0e5d33dc199d8b8ee591 (patch) | |
tree | 7f2f111fd654d8dc00baaa108aadcc2aa5d29e78 /src/3rdparty/masm/wtf/OSAllocator.h | |
parent | 78ac7ecbd4af02e989d3f391cf0f3627f93fd12c (diff) |
Remove guard pages option from uncommitted page reservations
It's only implemented for non-linux unix-like systems and it's quite
challenging to get it right everywhere else. So, instead of giving the
user the illusion that guard pages might be available we just drop
them.
Change-Id: I7ec74c84f6215f22bd10758728b18bbecc0adf59
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/3rdparty/masm/wtf/OSAllocator.h')
-rw-r--r-- | src/3rdparty/masm/wtf/OSAllocator.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/3rdparty/masm/wtf/OSAllocator.h b/src/3rdparty/masm/wtf/OSAllocator.h index a12a467497..494f8bc3c7 100644 --- a/src/3rdparty/masm/wtf/OSAllocator.h +++ b/src/3rdparty/masm/wtf/OSAllocator.h @@ -45,7 +45,7 @@ public: // These methods are symmetric; reserveUncommitted allocates VM in an uncommitted state, // releaseDecommitted should be called on a region of VM allocated by a single reservation, // the memory must all currently be in a decommitted state. - static void* reserveUncommitted(size_t, Usage = UnknownUsage, bool writable = true, bool executable = false, bool includesGuardPages = false); + static void* reserveUncommitted(size_t, Usage = UnknownUsage, bool writable = true, bool executable = false); WTF_EXPORT_PRIVATE static void releaseDecommitted(void*, size_t); // These methods are symmetric; they commit or decommit a region of VM (uncommitted VM should |