Make sure debug code is not evaluated in non-debug case.

llvm-svn: 34856
diff --git a/llvm/lib/Transforms/Utils/LowerSwitch.cpp b/llvm/lib/Transforms/Utils/LowerSwitch.cpp
index c005d42..652833c 100644
--- a/llvm/lib/Transforms/Utils/LowerSwitch.cpp
+++ b/llvm/lib/Transforms/Utils/LowerSwitch.cpp
@@ -127,8 +127,9 @@
   DOUT << "RHS: " << RHS << "\n";
 
   Case& Pivot = *(Begin + Mid);
-  DOUT << "Pivot ==> "
-       << cast<ConstantInt>(Pivot.first)->getValue().toStringSigned(10) << "\n";
+  DEBUG( DOUT << "Pivot ==> " 
+              << cast<ConstantInt>(Pivot.first)->getValue().toStringSigned(10) 
+              << "\n");
 
   BasicBlock* LBranch = switchConvert(LHS.begin(), LHS.end(), Val,
                                       OrigBlock, Default);