mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-15 21:24:00 +00:00
Add accessors for manipulating an MCInst's operands.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136818 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -145,6 +145,14 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
void clear() { Operands.clear(); }
|
void clear() { Operands.clear(); }
|
||||||
|
size_t size() { return Operands.size(); }
|
||||||
|
|
||||||
|
typedef SmallVector<MCOperand, 8>::iterator iterator;
|
||||||
|
iterator begin() { return Operands.begin(); }
|
||||||
|
iterator end() { return Operands.end(); }
|
||||||
|
iterator insert(iterator I, const MCOperand &Op) {
|
||||||
|
return Operands.insert(I, Op);
|
||||||
|
}
|
||||||
|
|
||||||
void print(raw_ostream &OS, const MCAsmInfo *MAI) const;
|
void print(raw_ostream &OS, const MCAsmInfo *MAI) const;
|
||||||
void dump() const;
|
void dump() const;
|
||||||
|
Reference in New Issue
Block a user