mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
MCInstFragment constructor should take by-reference MCInst.
The MCInst is immediately passed to the copy-constructor for local storage, so there's no need for the parameter itself to be by-value. llvm-svn: 162404
This commit is contained in:
parent
226105bdfd
commit
31c9d16ac3
@ -176,7 +176,7 @@ public:
|
||||
typedef SmallVectorImpl<MCFixup>::iterator fixup_iterator;
|
||||
|
||||
public:
|
||||
MCInstFragment(MCInst _Inst, MCSectionData *SD = 0)
|
||||
MCInstFragment(const MCInst &_Inst, MCSectionData *SD = 0)
|
||||
: MCFragment(FT_Inst, SD), Inst(_Inst) {
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user