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 | 275769a77acd8f0dadbf9ca03384b31c9f1c3e01 (patch) | |
tree | e05fce6a1e8102de39751719332c00a1ed5ad23b /lib/CodeGen/SelectionDAG | |
parent | 63491b2e15f28622e9aa8fec8752ec63a7da79e2 (diff) | |
download | external_llvm-275769a77acd8f0dadbf9ca03384b31c9f1c3e01.zip external_llvm-275769a77acd8f0dadbf9ca03384b31c9f1c3e01.tar.gz external_llvm-275769a77acd8f0dadbf9ca03384b31c9f1c3e01.tar.bz2 |
Fix some uses of dyn_cast to be uses of cast.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40443 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 4b768c2..9b146ee 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/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 |