From: Eli Bendersky Date: Wed, 5 Dec 2012 19:31:33 +0000 (+0000) Subject: Remove the non-const getInst accessor. It wasn't being used, and isn't very X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a7e29c878cac1cc7e75959889dd841a16d764988;p=oota-llvm.git Remove the non-const getInst accessor. It wasn't being used, and isn't very good for enacpsulation anyway. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169407 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/MC/MCAssembler.h b/include/llvm/MC/MCAssembler.h index 18d0010a5e5..91c743bbda2 100644 --- a/include/llvm/MC/MCAssembler.h +++ b/include/llvm/MC/MCAssembler.h @@ -184,10 +184,7 @@ public: const SmallVectorImpl &getCode() const { return Code; } unsigned getInstSize() const { return Code.size(); } - - MCInst &getInst() { return Inst; } const MCInst &getInst() const { return Inst; } - void setInst(const MCInst& Value) { Inst = Value; } /// @}