mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 05:29:24 +00:00
Instruction:: Next/Prev accessors are now private
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36204 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3c30d10b04
commit
97f89e688f
@ -82,13 +82,6 @@ public:
|
||||
inline const BasicBlock *getParent() const { return Parent; }
|
||||
inline BasicBlock *getParent() { return Parent; }
|
||||
|
||||
// getNext/Prev - Return the next or previous instruction in the list. The
|
||||
// last node in the list is a terminator instruction.
|
||||
Instruction *getNext() { return Next; }
|
||||
const Instruction *getNext() const { return Next; }
|
||||
Instruction *getPrev() { return Prev; }
|
||||
const Instruction *getPrev() const { return Prev; }
|
||||
|
||||
/// removeFromParent - This method unlinks 'this' from the containing basic
|
||||
/// block, but does not delete it.
|
||||
///
|
||||
@ -231,6 +224,14 @@ public:
|
||||
#define LAST_OTHER_INST(N) OtherOpsEnd = N+1
|
||||
#include "llvm/Instruction.def"
|
||||
};
|
||||
|
||||
private:
|
||||
// getNext/Prev - Return the next or previous instruction in the list. The
|
||||
// last node in the list is a terminator instruction.
|
||||
Instruction *getNext() { return Next; }
|
||||
const Instruction *getNext() const { return Next; }
|
||||
Instruction *getPrev() { return Prev; }
|
||||
const Instruction *getPrev() const { return Prev; }
|
||||
};
|
||||
|
||||
} // End llvm namespace
|
||||
|
Loading…
Reference in New Issue
Block a user