No need to use WeakVH here.
authorDevang Patel <dpatel@apple.com>
Sat, 16 Jan 2010 06:17:40 +0000 (06:17 +0000)
committerDevang Patel <dpatel@apple.com>
Sat, 16 Jan 2010 06:17:40 +0000 (06:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93631 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/AsmPrinter/DwarfDebug.cpp

index 8725c596982e88f382d147f7ab43f9010a18c54e..f89f2e1a3be6b4a886414e80567e202024a67dc7 100644 (file)
@@ -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.