From 9a55539bef62823829a557073deb3c0715ae4f75 Mon Sep 17 00:00:00 2001 From: David Majnemer Date: Mon, 30 Mar 2015 23:14:45 +0000 Subject: Silence an unused variable warning. No functional change intended. llvm-svn: 233639 --- llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp') diff --git a/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp b/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp index 77b31fc0566..c00b11893bf 100644 --- a/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp +++ b/llvm/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, -- cgit v1.2.3