mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-01 00:33:09 +00:00
Fix the compile from r206147 in release builds by moving a variable
declaration outside of #ifndef NDEBUG -- its used elsewhere. Sorry for the noise. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206148 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
cb7ead25c2
commit
e20c45d2d8
@ -285,8 +285,8 @@ private:
|
||||
void DeallocateCustomSizedSlabs() {
|
||||
for (auto &PtrAndSize : CustomSizedSlabs) {
|
||||
void *Ptr = PtrAndSize.first;
|
||||
#ifndef NDEBUG
|
||||
size_t Size = PtrAndSize.second;
|
||||
#ifndef NDEBUG
|
||||
// Poison the memory so stale pointers crash sooner. Note we must
|
||||
// preserve the Size and NextPtr fields at the beginning.
|
||||
sys::Memory::setRangeWritable(Ptr, Size);
|
||||
|
Loading…
Reference in New Issue
Block a user