summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/DebugInfo.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2010-05-07 18:19:32 +0000
committerDevang Patel <dpatel@apple.com>2010-05-07 18:19:32 +0000
commit4423abd73496b38cd78915542145353ae86c0001 (patch)
tree58e934b8bcdd32ff2ca89b872c7340cc7129c5e5 /llvm/lib/Analysis/DebugInfo.cpp
parentba4ad7f2fdffe484d4f8bf465228dcc7dc1dbfee (diff)
downloadbcm5719-llvm-4423abd73496b38cd78915542145353ae86c0001.tar.gz
bcm5719-llvm-4423abd73496b38cd78915542145353ae86c0001.zip
Use overloaded operators instead of DIDescriptor::getNode()
llvm-svn: 103276
Diffstat (limited to 'llvm/lib/Analysis/DebugInfo.cpp')
-rw-r--r--llvm/lib/Analysis/DebugInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/DebugInfo.cpp b/llvm/lib/Analysis/DebugInfo.cpp
index b82e75b9a5d..68acabb302d 100644
--- a/llvm/lib/Analysis/DebugInfo.cpp
+++ b/llvm/lib/Analysis/DebugInfo.cpp
@@ -271,7 +271,7 @@ void DIDerivedType::replaceAllUsesWith(DIDescriptor &D) {
// which, due to uniquing, has merged with the source. We shield clients from
// this detail by allowing a value to be replaced with replaceAllUsesWith()
// itself.
- if (getNode() != D) {
+ if (DbgNode != D) {
MDNode *Node = DbgNode;
Node->replaceAllUsesWith(D);
Node->destroy();
OpenPOWER on IntegriCloud