Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(45)

Unified Diff: src/base/platform/platform.h

Issue 768543002: [WIP] TrapHandler 2014/11/27. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/api.cc ('k') | src/base/platform/platform-posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/base/platform/platform.h
diff --git a/src/base/platform/platform.h b/src/base/platform/platform.h
index 0bf102723acfd74d6d130e2a6f01ae5e1975d6e8..f23c37f15893bd8c7468960b7318d6f1b01f4542 100644
--- a/src/base/platform/platform.h
+++ b/src/base/platform/platform.h
@@ -180,7 +180,8 @@ class OS {
static void ProtectCode(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);
+ static void Guard(void* const address, size_t const size);
+ static void Unguard(void* const address, size_t const size);
// Generate a random address to be used for hinting mmap().
static void* GetRandomMmapAddr();
« no previous file with comments | « src/api.cc ('k') | src/base/platform/platform-posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698