diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-12-19 21:31:56 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-12-19 21:31:56 +0000 |
commit | b159b5ff0d3712cd4d982b9742a7f5e9386bb11e (patch) | |
tree | 0b0855f59f71c95be797e95ddbd5fbd49ac6037b /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h | |
parent | 11350aafb4f77d7815bbf6875855585d8667da16 (diff) | |
download | bcm5719-llvm-b159b5ff0d3712cd4d982b9742a7f5e9386bb11e.tar.gz bcm5719-llvm-b159b5ff0d3712cd4d982b9742a7f5e9386bb11e.zip |
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
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h')
0 files changed, 0 insertions, 0 deletions