diff options
author | Devang Patel <dpatel@apple.com> | 2010-05-07 18:19:32 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2010-05-07 18:19:32 +0000 |
commit | ed66bf5125ec47a338854d5e8a556f1686fd69bb (patch) | |
tree | 4bd2f947dd9f58dcde7dfb84065313f76291dc77 /lib/Analysis/DebugInfo.cpp | |
parent | 2db49d797b86b7f3615bae17b2b016727778a6c4 (diff) |
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.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/DebugInfo.cpp b/lib/Analysis/DebugInfo.cpp index b82e75b9a5..68acabb302 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(); |