diff options
author | Dan Gohman <gohman@apple.com> | 2007-07-23 20:24:29 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2007-07-23 20:24:29 +0000 |
commit | b6a8ae20c75c8b8f086d58346dfa96c7d7f94151 (patch) | |
tree | 234f518eba655f284aeef99f5323f2c6ab32ca32 /llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | |
parent | 17f68f95d8fcd6226c5350a17c645de58a5840eb (diff) | |
download | bcm5719-llvm-b6a8ae20c75c8b8f086d58346dfa96c7d7f94151.tar.gz bcm5719-llvm-b6a8ae20c75c8b8f086d58346dfa96c7d7f94151.zip |
Fix some uses of dyn_cast to be uses of cast.
llvm-svn: 40443
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 4b768c23540..9b146eef629 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -3210,7 +3210,7 @@ HandleSDNode::~HandleSDNode() { GlobalAddressSDNode::GlobalAddressSDNode(bool isTarget, const GlobalValue *GA, MVT::ValueType VT, int o) : SDNode(isa<GlobalVariable>(GA) && - dyn_cast<GlobalVariable>(GA)->isThreadLocal() ? + cast<GlobalVariable>(GA)->isThreadLocal() ? // Thread Local (isTarget ? ISD::TargetGlobalTLSAddress : ISD::GlobalTLSAddress) : // Non Thread Local |