From 814b7e74889632c22118cbbfd37c99466a27d94c Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Sat, 16 Jan 2010 06:17:40 +0000 Subject: No need to use WeakVH here. llvm-svn: 93631 --- llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'llvm/lib/CodeGen/AsmPrinter') diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index 8725c596982..f89f2e1a3be 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/llvm/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. -- cgit v1.2.3