From 23ff386e07474da75a50e58177db93a74798914a Mon Sep 17 00:00:00 2001 From: David Majnemer Date: Mon, 30 Mar 2015 23:14:45 +0000 Subject: [PATCH] Silence an unused variable warning. No functional change intended. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233639 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp b/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp index 77b31fc0566..c00b11893bf 100644 --- a/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp +++ b/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp @@ -317,6 +317,7 @@ void WinEHNumbering::createUnwindMapEntry(int ToState, ActionHandler *AH) { } static void print_name(const Value *V) { +#ifndef NDEBUG if (!V) { DEBUG(dbgs() << "null"); return; @@ -326,6 +327,7 @@ static void print_name(const Value *V) { DEBUG(dbgs() << F->getName()); else DEBUG(V->dump()); +#endif } void WinEHNumbering::proccessCallSite(ArrayRef Actions, -- 2.34.1