aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2008-07-18 21:07:41 +0000
committerDuncan Sands <baldrick@free.fr>2008-07-18 21:07:41 +0000
commitcc8209c892e8a2f535a033c92e1efea4dba3406e (patch)
treec61d82ffb3554dfbfe415907746bf42e46fab544 /lib/CodeGen
parent6c6ff1631727fe7528acab67d0afed83c3019f37 (diff)
downloadexternal_llvm-cc8209c892e8a2f535a033c92e1efea4dba3406e.zip
external_llvm-cc8209c892e8a2f535a033c92e1efea4dba3406e.tar.gz
external_llvm-cc8209c892e8a2f535a033c92e1efea4dba3406e.tar.bz2
Eliminate unused variable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53772 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
index a9b07af..2ca4d8f 100644
--- a/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
+++ b/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);