add some WeakVH::operator='s. Without these, assigning
authorChris Lattner <sabre@nondot.org>
Sat, 10 Oct 2009 08:27:29 +0000 (08:27 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 10 Oct 2009 08:27:29 +0000 (08:27 +0000)
commitf6811274e18a73e7ba84a820a28cc2549a4fab44
tree159516457fb2f8b453cbb062558c0d8ec36888ac
parentfc61aeff2c5d964d81a63b709b5e1a50a5519e83
add some WeakVH::operator='s.  Without these, assigning
a Value* to a WeakVH was constructing a temporary WeakVH
(due to the implicit assignment operator).  This avoids
that cost.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83704 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/ValueHandle.h