Make the setInst method take its MCInst parameter by reference, a la Jim's

change in r162404.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162431 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Lang Hames 2012-08-23 07:00:48 +00:00
parent 8a5bc5ad90
commit 1df46c36b6

View File

@ -191,7 +191,7 @@ public:
MCInst &getInst() { return Inst; }
const MCInst &getInst() const { return Inst; }
void setInst(MCInst Value) { Inst = Value; }
void setInst(const MCInst& Value) { Inst = Value; }
/// @}
/// @name Fixup Access