Merge of r51073-51074 from use-diet branch.
authorGabor Greif <ggreif@gmail.com>
Tue, 13 May 2008 22:51:52 +0000 (22:51 +0000)
committerGabor Greif <ggreif@gmail.com>
Tue, 13 May 2008 22:51:52 +0000 (22:51 +0000)
commit94fb68ba217975d2d99ae86d15993402158ac655
tree552de423a4b79ff2cf57b7c68f5e2db81fb562d2
parente3fc3858a2e9d6483a68a6696d07f29ccc799cce
Merge of r51073-51074 from use-diet branch.

Do not rely on std::swap<Use>, provide a (faster) member function instead.
This change is primarily necessitated by MSVC++'s incompatibility with
declaring std::swap<Use> to be a friend of Use.

Also contains some minor tweaks to Use inline functions,
to undo pointless changes that sneaked in with the last merge.

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