| commit | b159b5ff0d3712cd4d982b9742a7f5e9386bb11e | [log] [tgz] |
|---|---|---|
| author | Jakob Stoklund Olesen <stoklund@2pi.dk> | Wed Dec 19 21:31:56 2012 +0000 |
| committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | Wed Dec 19 21:31:56 2012 +0000 |
| tree | 0b0855f59f71c95be797e95ddbd5fbd49ac6037b | |
| parent | 11350aafb4f77d7815bbf6875855585d8667da16 [diff] |
Remove the explicit MachineInstrBuilder(MI) constructor. Use the version that also takes an MF reference instead. It would technically be possible to extract an MF reference from the MI as MI->getParent()->getParent(), but that would not work for MIs that are not inserted into any basic block. Given the reasonably small number of places this constructor was used at all, I preferred the compile time check to a run time assertion. llvm-svn: 170588