1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00

remove a deprecated internal interface

llvm-svn: 57434
This commit is contained in:
Gabor Greif 2008-10-13 10:25:27 +00:00
parent 5f75f1372e
commit d9cedf70c7
2 changed files with 0 additions and 9 deletions

View File

@ -66,10 +66,6 @@ inline T *transferTag(const T *From, const T *To) {
// Use is here to make keeping the "use" list of a Value up-to-date really easy.
//
class Use {
private:
/// init - specify Value and User
/// @deprecated in 2.4, will be removed soon
inline void init(Value *V, User *U);
public:
/// swap - provide a fast substitute to std::swap<Use>
/// that also works with less standard-compliant compilers

View File

@ -253,11 +253,6 @@ inline raw_ostream &operator<<(raw_ostream &OS, const Value &V) {
return OS;
}
void Use::init(Value *V, User *) {
Val = V;
if (V) V->addUse(*this);
}
void Use::set(Value *V) {
if (Val) removeFromList();
Val = V;