diff options
author | Devang Patel <dpatel@apple.com> | 2010-01-16 06:17:40 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2010-01-16 06:17:40 +0000 |
commit | a27f6e4e202b335f38e3f37e052e9eca817e89fe (patch) | |
tree | 7463b011870943e32226e5db40f78ced904c8649 /lib/CodeGen | |
parent | 6b61f5816e22ac7f7e009aaf3e11ccce7cfeb085 (diff) | |
download | external_llvm-a27f6e4e202b335f38e3f37e052e9eca817e89fe.zip external_llvm-a27f6e4e202b335f38e3f37e052e9eca817e89fe.tar.gz external_llvm-a27f6e4e202b335f38e3f37e052e9eca817e89fe.tar.bz2 |
No need to use WeakVH here.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93631 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index 8725c59..f89f2e1 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -165,8 +165,7 @@ public: class DbgScope { DbgScope *Parent; // Parent to this scope. DIDescriptor Desc; // Debug info descriptor for scope. - // FIXME : Use of WeakVH may be expensive here. - WeakVH InlinedAtLocation; // Location at which scope is inlined. + MDNode * InlinedAtLocation; // Location at which scope is inlined. bool AbstractScope; // Abstract Scope unsigned StartLabelID; // Label ID of the beginning of scope. unsigned EndLabelID; // Label ID of the end of scope. |