mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
Bug 1277742 - Use correct namespace for ChunkSize on aarch64. r=ehoogeveen
MozReview-Commit-ID: FqXkZaOG6SK
This commit is contained in:
parent
4df6880523
commit
1f8d8d608f
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user