diff options
author | Duncan Sands <baldrick@free.fr> | 2008-07-18 21:07:41 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2008-07-18 21:07:41 +0000 |
commit | 694228b47dcf50a6eb29f9c08e25525186078239 (patch) | |
tree | 3b98c99ad033e3959fa63ec282a206e17906512a /llvm/lib/CodeGen/SelectionDAG | |
parent | 2c741145a7caef1152ac447ad9d637ef666ae6ec (diff) | |
download | bcm5719-llvm-694228b47dcf50a6eb29f9c08e25525186078239.tar.gz bcm5719-llvm-694228b47dcf50a6eb29f9c08e25525186078239.zip |
Eliminate unused variable.
llvm-svn: 53772
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp index a9b07afc90f..2ca4d8fa6cf 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp @@ -160,7 +160,7 @@ std::string DOTGraphTraits<SelectionDAG*>::getNodeLabel(const SDNode *Node, 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); |