Use TrackingVH instead of WeakVH for NamedMDNode's operands, since nodes
authorDan Gohman <gohman@apple.com>
Wed, 21 Jul 2010 18:01:42 +0000 (18:01 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 21 Jul 2010 18:01:42 +0000 (18:01 +0000)
commitd9c86dc6d95885f0c88f8068a06eab87da328490
tree2f661b32d65955aba6ec8faafff81b580259d652
parent1ec7f5feb30e5cd63772e0c97d51cae00b0af7c5
Use TrackingVH instead of WeakVH for NamedMDNode's operands, since nodes
referenced by NamedMDNodes shouldn't be deleted.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109021 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Metadata.h
lib/VMCore/Metadata.cpp