aboutsummaryrefslogtreecommitdiffstats
path: root/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
commit5b93ea1ca3cf55a750e58abee7ed845b210d14c8 (patch)
tree3d40c87abfd8bb4bb5402592d4f67b2f3f38b6b7 /lib/CodeGen
parent8eba8e0ca3497e4f518b5e27117ea22651409c2c (diff)
downloadexternal_llvm-5b93ea1ca3cf55a750e58abee7ed845b210d14c8.zip
external_llvm-5b93ea1ca3cf55a750e58abee7ed845b210d14c8.tar.gz
external_llvm-5b93ea1ca3cf55a750e58abee7ed845b210d14c8.tar.bz2
fix a typo that GCC should have caught that causes crashes with -view-*-dags
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74364 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAG.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index 0ab1473..0342f67 100644
--- a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+++ b/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())