OSDN Git Service

CodeGen: Use MachineInstr& in InlineSpiller::rematerializeFor()
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Sat, 27 Feb 2016 20:23:14 +0000 (20:23 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Sat, 27 Feb 2016 20:23:14 +0000 (20:23 +0000)
commitcc3610dedb011741ae788c2e25c3f531a87913be
tree3de9cbd45b537a42f20e37e2de1951332aa4b23f
parent5144d3546c66a5743adfaf0441e22a0d35d610b3
CodeGen: Use MachineInstr& in InlineSpiller::rematerializeFor()

InlineSpiller::rematerializeFor() never uses its parameter as an
iterator, so take it by reference instead.  This removes an implicit
conversion from MachineBasicBlock::iterator to MachineInstr*.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@262152 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/InlineSpiller.cpp