Commit 1327cb0a authored by erik.corry@gmail.com's avatar erik.corry@gmail.com

Determine page size at runtime on posix platforms. Landing for kalmard. ...

Determine page size at runtime on posix platforms.  Landing for kalmard.  http://codereview.chromium.org/9023007/

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10337 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 22bc8f6a
......@@ -71,7 +71,8 @@ intptr_t OS::MaxVirtualMemory() {
intptr_t OS::CommitPageSize() {
return 4096;
static intptr_t page_size = getpagesize();
return page_size;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment