diff options
Diffstat (limited to 'include/llvm/MC/MCInst.h')
-rw-r--r-- | include/llvm/MC/MCInst.h | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/include/llvm/MC/MCInst.h b/include/llvm/MC/MCInst.h index d443536d40..d384764774 100644 --- a/include/llvm/MC/MCInst.h +++ b/include/llvm/MC/MCInst.h @@ -129,7 +129,6 @@ public: class MCInst { unsigned Opcode; SmallVector<MCOperand, 8> Operands; - SmallVector<std::string, 1> Annotations; public: MCInst() : Opcode(0) {} @@ -145,15 +144,7 @@ public: Operands.push_back(Op); } - void addAnnotation(const std::string &Annot) { - Annotations.push_back(Annot); - } - - void clear() { - Operands.clear(); - Annotations.clear(); - } - + void clear() { Operands.clear(); } size_t size() { return Operands.size(); } typedef SmallVector<MCOperand, 8>::iterator iterator; @@ -163,9 +154,6 @@ public: return Operands.insert(I, Op); } - size_t getNumAnnotations() const { return Annotations.size(); } - std::string getAnnotation(size_t i) const { return Annotations[i]; } - void print(raw_ostream &OS, const MCAsmInfo *MAI) const; void dump() const; |