mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
[Orc] Fix werror for unused variable in noasserts build
This commit is contained in:
parent
3ad7648361
commit
2da0c11e30
@ -408,7 +408,9 @@ public:
|
||||
return errorCodeToError(EC);
|
||||
|
||||
char *SlabAddr = static_cast<char *>(HostAllocation.base());
|
||||
#ifndef NDEBUG
|
||||
char *SlabAddrEnd = SlabAddr + HostAllocation.allocatedSize();
|
||||
#endif
|
||||
|
||||
// Allocate segment memory from the slab.
|
||||
for (auto &KV : Request) {
|
||||
|
Loading…
Reference in New Issue
Block a user