Silence an unused variable warning.

No functional change intended.

llvm-svn: 233639
This commit is contained in:
David Majnemer 2015-03-30 23:14:45 +00:00
parent 35ce8630f3
commit 9a55539bef
1 changed files with 2 additions and 0 deletions

View File

@ -317,6 +317,7 @@ void WinEHNumbering::createUnwindMapEntry(int ToState, ActionHandler *AH) {
} }
static void print_name(const Value *V) { static void print_name(const Value *V) {
#ifndef NDEBUG
if (!V) { if (!V) {
DEBUG(dbgs() << "null"); DEBUG(dbgs() << "null");
return; return;
@ -326,6 +327,7 @@ static void print_name(const Value *V) {
DEBUG(dbgs() << F->getName()); DEBUG(dbgs() << F->getName());
else else
DEBUG(V->dump()); DEBUG(V->dump());
#endif
} }
void WinEHNumbering::proccessCallSite(ArrayRef<ActionHandler *> Actions, void WinEHNumbering::proccessCallSite(ArrayRef<ActionHandler *> Actions,