[llvm-commits] [llvm] r53772 - /llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp

Duncan Sands baldrick at free.fr
Fri Jul 18 14:07:41 PDT 2008


Author: baldrick
Date: Fri Jul 18 16:07:41 2008
New Revision: 53772

URL: http://llvm.org/viewvc/llvm-project?rev=53772&view=rev
Log:
Eliminate unused variable.

Modified:
    llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp

Modified: llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp?rev=53772&r1=53771&r2=53772&view=diff

==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp Fri Jul 18 16:07:41 2008
@@ -160,7 +160,7 @@
     Op += '<';
     if (!V) {
       Op += "(unknown)";
-    } else if (const PseudoSourceValue *PSV = dyn_cast<PseudoSourceValue>(V)) {
+    } else if (isa<PseudoSourceValue>(V)) {
       // PseudoSourceValues don't have names, so use their print method.
       std::ostringstream SS;
       M->MO.getValue()->print(SS);





More information about the llvm-commits mailing list