forked from OSchip/llvm-project
parent
431cf567de
commit
83bfbfa195
|
@ -112,6 +112,7 @@ public:
|
||||||
|
|
||||||
const MCOperand &getOperand(unsigned i) const { return Operands[i]; }
|
const MCOperand &getOperand(unsigned i) const { return Operands[i]; }
|
||||||
MCOperand &getOperand(unsigned i) { return Operands[i]; }
|
MCOperand &getOperand(unsigned i) { return Operands[i]; }
|
||||||
|
unsigned getNumOperands() const { return Operands.size(); }
|
||||||
|
|
||||||
void addOperand(const MCOperand &Op) {
|
void addOperand(const MCOperand &Op) {
|
||||||
Operands.push_back(Op);
|
Operands.push_back(Op);
|
||||||
|
|
Loading…
Reference in New Issue