Apply Jeffrey Yasskin's CallbackVH patch, with minor tweaks from me
authorDan Gohman <gohman@apple.com>
Sat, 2 May 2009 21:10:48 +0000 (21:10 +0000)
committerDan Gohman <gohman@apple.com>
Sat, 2 May 2009 21:10:48 +0000 (21:10 +0000)
commitc09b12c62208f09de9d107b320f5420ae6e4fc38
treef6751e459b0d08676798384a220ebba5b6461a88
parent42da7f754235a85d2334760212cf69400c439dd2
Apply Jeffrey Yasskin's CallbackVH patch, with minor tweaks from me
to make the copy constructor and destructor protected, and corresponding
adjustments to the unittests.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70644 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/ValueHandle.h
lib/VMCore/Value.cpp
unittests/Support/ValueHandleTest.cpp