diff options
author | David Greene <greened@obbligato.org> | 2009-08-03 21:55:09 +0000 |
---|---|---|
committer | David Greene <greened@obbligato.org> | 2009-08-03 21:55:09 +0000 |
commit | ec9bc28812e6b845e585a780116a9a81ee8fc208 (patch) | |
tree | 205714e9a8764d1a4bf833320b282d22624d66a9 /llvm/lib/CodeGen/LiveIntervalAnalysis.cpp | |
parent | d2c179c8f6a8569d6307532e2aac0ac4a5e4e71a (diff) | |
download | bcm5719-llvm-ec9bc28812e6b845e585a780116a9a81ee8fc208.tar.gz bcm5719-llvm-ec9bc28812e6b845e585a780116a9a81ee8fc208.zip |
Re-apply LiveInterval index dumping patch, with fixes suggested by Bill
and others.
llvm-svn: 78003
Diffstat (limited to 'llvm/lib/CodeGen/LiveIntervalAnalysis.cpp')
-rw-r--r-- | llvm/lib/CodeGen/LiveIntervalAnalysis.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp index 2c7cc765e4f..63a391a319a 100644 --- a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp +++ b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp @@ -2501,3 +2501,9 @@ LiveRange LiveIntervals::addLiveRangeToEndOfBlock(unsigned reg, return LR; } + +raw_ostream & +IntervalPrefixPrinter::operator()(raw_ostream &out, + const MachineInstr &instr) const { + return out << liinfo.getInstructionIndex(&instr); +} |