diff options
author | Dan Gohman <gohman@apple.com> | 2010-04-17 15:32:28 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-04-17 15:32:28 +0000 |
commit | 8422e57baaf8a88d8cca5d09e0f4077582faaaaa (patch) | |
tree | 9bc9f8dd6003625b13aa9563a5a385d307efd341 /llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | |
parent | 20e094c71199cd19c10df18f25c43fff37edc809 (diff) | |
download | bcm5719-llvm-8422e57baaf8a88d8cca5d09e0f4077582faaaaa.tar.gz bcm5719-llvm-8422e57baaf8a88d8cca5d09e0f4077582faaaaa.zip |
Delete now-unnecessary const_casts.
llvm-svn: 101637
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 8c10cc29d89..989293d45ac 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -5361,7 +5361,7 @@ HandleSDNode::~HandleSDNode() { GlobalAddressSDNode::GlobalAddressSDNode(unsigned Opc, const GlobalValue *GA, EVT VT, int64_t o, unsigned char TF) : SDNode(Opc, DebugLoc(), getSDVTList(VT)), Offset(o), TargetFlags(TF) { - TheGlobal = const_cast<GlobalValue*>(GA); + TheGlobal = GA; } MemSDNode::MemSDNode(unsigned Opc, DebugLoc dl, SDVTList VTs, EVT memvt, |