mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
remove a deprecated internal interface
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57434 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e9324f3605
commit
c9f7ef7e7a
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user