Correctly setup the freelist of the coderange on Win64
authorjochen <jochen@chromium.org>
Fri, 9 Jan 2015 13:07:29 +0000 (05:07 -0800)
committerCommit bot <commit-bot@chromium.org>
Fri, 9 Jan 2015 13:07:42 +0000 (13:07 +0000)
commit21ce2464232e6496408bb90a291a0fbd87b1baf7
tree6f3c2c4b419cb6fbf57140c5a79fd363778b1d31
parentc10c3cbf180f30840827a173dc6bc6dbe4acc9ed
Correctly setup the freelist of the coderange on Win64

Since we have a special guard page at the beginning of the code range on
win64, we need to make sure to adjust the size of the free list
accordingly when creating it.

BUG=chromium:447555
R=hpayer@chromium.org
LOG=y

Review URL: https://codereview.chromium.org/843973002

Cr-Commit-Position: refs/heads/master@{#26012}
src/heap/spaces.cc
test/cctest/test-alloc.cc