mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-02 07:32:52 +00:00
Add a getPointerOperand() helper function to VAArgInst, for consistency
with LoadInst and StoreInst. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113520 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5f54ce3473
commit
e744541788
@ -1207,6 +1207,10 @@ public:
|
||||
setName(NameStr);
|
||||
}
|
||||
|
||||
Value *getPointerOperand() { return getOperand(0); }
|
||||
const Value *getPointerOperand() const { return getOperand(0); }
|
||||
static unsigned getPointerOperandIndex() { return 0U; }
|
||||
|
||||
// Methods for support type inquiry through isa, cast, and dyn_cast:
|
||||
static inline bool classof(const VAArgInst *) { return true; }
|
||||
static inline bool classof(const Instruction *I) {
|
||||
|
Loading…
Reference in New Issue
Block a user