зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 5cc570283ec2 (bug 1578031) for SM bustages complaining about OffsetGuardLimit CLOSED TREE
This commit is contained in:
Родитель
d4d8b8818f
Коммит
4d0ef423c1
|
@ -2330,7 +2330,7 @@ static_assert(MaxMemoryAccessSize < GuardSize,
|
|||
static_assert(OffsetGuardLimit < UINT32_MAX,
|
||||
"checking for overflow against OffsetGuardLimit is enough.");
|
||||
|
||||
static constexpr size_t GetOffsetGuardLimit(bool hugeMemory) {
|
||||
static constexpr bool GetOffsetGuardLimit(bool hugeMemory) {
|
||||
#ifdef WASM_SUPPORTS_HUGE_MEMORY
|
||||
return hugeMemory ? HugeOffsetGuardLimit : OffsetGuardLimit;
|
||||
#else
|
||||
|
|
Загрузка…
Ссылка в новой задаче