aboutsummaryrefslogtreecommitdiffstats
path: root/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
commited66bf5125ec47a338854d5e8a556f1686fd69bb (patch)
tree4bd2f947dd9f58dcde7dfb84065313f76291dc77 /lib/Analysis/DebugInfo.cpp
parent2db49d797b86b7f3615bae17b2b016727778a6c4 (diff)
downloadexternal_llvm-ed66bf5125ec47a338854d5e8a556f1686fd69bb.zip
external_llvm-ed66bf5125ec47a338854d5e8a556f1686fd69bb.tar.gz
external_llvm-ed66bf5125ec47a338854d5e8a556f1686fd69bb.tar.bz2
Use overloaded operators instead of DIDescriptor::getNode()
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103276 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/DebugInfo.cpp')
-rw-r--r--lib/Analysis/DebugInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/DebugInfo.cpp b/lib/Analysis/DebugInfo.cpp
index b82e75b..68acabb 100644
--- a/lib/Analysis/DebugInfo.cpp
+++ b/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();