Bug 1277742 - Use correct namespace for ChunkSize on aarch64. r=ehoogeveen

MozReview-Commit-ID: FqXkZaOG6SK
This commit is contained in:
Makoto Kato 2016-06-03 19:11:00 +09:00
parent 4df6880523
commit 1f8d8d608f

View File

@ -347,7 +347,7 @@ mapMemory(size_t length)
#elif defined(__aarch64__)
const uintptr_t start = UINT64_C(0x0000070000000000);
const uintptr_t end = UINT64_C(0x0000800000000000);
const uintptr_t step = ChunkSize;
const uintptr_t step = js::gc::ChunkSize;
uintptr_t hint;
void* region = MAP_FAILED;
for (hint = start; region == MAP_FAILED && hint + length <= end; hint += step) {