1
0
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:
Bjorn Pettersson 2020-08-14 15:58:04 +02:00
parent 3ad7648361
commit 2da0c11e30

View File

@ -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) {