Use TrackingVH instead of WeakVH for NamedMDNode's operands, since nodes
[oota-llvm.git] / include / llvm / Metadata.h
index 64ab6b7583ed7e89052aaf99c7816cbf5f91a359..7cfcb7007950ae18867be5e59becd66529337434 100644 (file)
@@ -185,7 +185,7 @@ class NamedMDNode : public Value, public ilist_node<NamedMDNode> {
 
   std::string Name;
   Module *Parent;
-  void *Operands; // SmallVector<WeakVH<MDNode>, 4>
+  void *Operands; // SmallVector<TrackingVH<MDNode>, 4>
 
   void setParent(Module *M) { Parent = M; }
 protected: