mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-15 07:59:33 +00:00
add an accessor.
llvm-svn: 73966
This commit is contained in:
parent
3e8033f7f7
commit
2b8ea5e0c8
@ -112,6 +112,7 @@ public:
|
||||
|
||||
const MCOperand &getOperand(unsigned i) const { return Operands[i]; }
|
||||
MCOperand &getOperand(unsigned i) { return Operands[i]; }
|
||||
unsigned getNumOperands() const { return Operands.size(); }
|
||||
|
||||
void addOperand(const MCOperand &Op) {
|
||||
Operands.push_back(Op);
|
||||
|
Loading…
x
Reference in New Issue
Block a user