summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2011-11-15 16:27:03 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2011-11-15 16:27:03 +0000
commit1f97a5a671e6eb3c52aa1db03f0f0d750d3e8d3f (patch)
tree6db50aad808812ebcc7a25a1a2466138b94afe02 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
parent4c93d15f09bca663756808e4a318f52c705107df (diff)
downloadbcm5719-llvm-1f97a5a671e6eb3c52aa1db03f0f0d750d3e8d3f.tar.gz
bcm5719-llvm-1f97a5a671e6eb3c52aa1db03f0f0d750d3e8d3f.zip
Remove all remaining uses of Value::getNameStr().
llvm-svn: 144648
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index 5cbce3fad95..0afe9906825 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@ -476,8 +476,8 @@ void SelectionDAGISel::CodeGenAndEmitDAG() {
#endif
{
BlockNumber = FuncInfo->MBB->getNumber();
- BlockName = MF->getFunction()->getNameStr() + ":" +
- FuncInfo->MBB->getBasicBlock()->getNameStr();
+ BlockName = MF->getFunction()->getName().str() + ":" +
+ FuncInfo->MBB->getBasicBlock()->getName().str();
}
DEBUG(dbgs() << "Initial selection DAG: BB#" << BlockNumber
<< " '" << BlockName << "'\n"; CurDAG->dump());
OpenPOWER on IntegriCloud