summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-06-27 00:57:02 +0000
committerChris Lattner <sabre@nondot.org>2009-06-27 00:57:02 +0000
commita4775f2b1313858f175cb7e273a990a5ce0e0729 (patch)
treefc0a0784d686b496ad8c6404bba04068a106e06a /llvm/lib/CodeGen
parent74d7f0dd652bdb3fd6fdbd3fd582829c8b4d5deb (diff)
downloadbcm5719-llvm-a4775f2b1313858f175cb7e273a990a5ce0e0729.tar.gz
bcm5719-llvm-a4775f2b1313858f175cb7e273a990a5ce0e0729.zip
fix a typo that GCC should have caught that causes crashes with -view-*-dags
llvm-svn: 74364
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index 0ab14731ae4..0342f672462 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@ -5540,7 +5540,7 @@ void SDNode::print_details(raw_ostream &OS, const SelectionDAG *G) const {
} else if (const ExternalSymbolSDNode *ES =
dyn_cast<ExternalSymbolSDNode>(this)) {
OS << "'" << ES->getSymbol() << "'";
- if (unsigned char TF = GADN->getTargetFlags())
+ if (unsigned char TF = ES->getTargetFlags())
OS << " [TF=" << TF << ']';
} else if (const SrcValueSDNode *M = dyn_cast<SrcValueSDNode>(this)) {
if (M->getValue())
OpenPOWER on IntegriCloud