Chromium Code Reviews| Index: src/platform.h |
| =================================================================== |
| --- src/platform.h (revision 8657) |
| +++ src/platform.h (working copy) |
| @@ -206,6 +206,9 @@ |
| size_t* allocated, |
| bool is_executable); |
| static void Free(void* address, const size_t size); |
| + |
| + // Assign memory as a guard page so that access will cause an exception. |
| + static void Guard(void* address, const size_t size); |
| // Get the Alignment guaranteed by Allocate(). |
|
Vyacheslav Egorov (Chromium)
2011/07/15 11:59:14
empty line between declaration and comment.
Cris Neckar
2011/07/15 18:51:29
Done.
|
| static size_t AllocateAlignment(); |