OSDN Git Service

[ORC] Suppress an unused variable warning for a debug-mode only use.
authorLang Hames <lhames@gmail.com>
Sun, 17 Jun 2018 17:18:12 +0000 (17:18 +0000)
committerLang Hames <lhames@gmail.com>
Sun, 17 Jun 2018 17:18:12 +0000 (17:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@334911 91177308-0d34-0410-b5e6-96231b3b80d8

lib/ExecutionEngine/Orc/Core.cpp

index c573037..2dd491e 100644 (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