[ORC] Suppress an unused variable warning for a debug-mode only use.

llvm-svn: 334911
This commit is contained in:
Lang Hames 2018-06-17 17:18:12 +00:00
parent df5776b1dc
commit cd018a4467
1 changed files with 1 additions and 0 deletions

View File

@ -282,6 +282,7 @@ Error MaterializationResponsibility::defineMaterializing(
// symbol error.
for (auto &KV : NewSymbolFlags) {
auto I = SymbolFlags.insert(KV).first;
(void)I;
#ifndef NDEBUG
I->second |= JITSymbolFlags::Materializing;
#endif