Delete User::dropHungOffUses and move it in to ~User which is the only caller. NFC.
authorPete Cooper <peter_cooper@apple.com>
Wed, 10 Jun 2015 22:38:38 +0000 (22:38 +0000)
committerPete Cooper <peter_cooper@apple.com>
Wed, 10 Jun 2015 22:38:38 +0000 (22:38 +0000)
commit0fa7dc6b369a98e785eb7737903b450c318b21c2
tree99635b1ebe9ae9ecb4b662cc40be7e41ebadb3ad
parent0aae8ce09fd6c337b5c4398eadcad75e7bb3eda2
Delete User::dropHungOffUses and move it in to ~User which is the only caller. NFC.

Now that the subclasses which care about hung off uses let ~User clean it up,
there's no need for a separate method.  Just inline it to ~User and delete it.

Reviewed by Duncan Exon Smith.

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