commit | b5257664795d49ada0d4669fe8ed1cd49c04fbf3 | [log] [tgz] |
---|---|---|
author | David Greene <greened@obbligato.org> | Mon Aug 03 21:55:09 2009 +0000 |
committer | David Greene <greened@obbligato.org> | Mon Aug 03 21:55:09 2009 +0000 |
tree | fd2c7e1b494e4829cff1bb3dfac8e2552d795fe1 | |
parent | 11e9657eeb76dff6baaab1cbac0b1fb7e1abb439 [diff] [blame] |
Re-apply LiveInterval index dumping patch, with fixes suggested by Bill and others. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78003 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp index 2c7cc76..63a391a 100644 --- a/lib/CodeGen/LiveIntervalAnalysis.cpp +++ b/lib/CodeGen/LiveIntervalAnalysis.cpp
@@ -2501,3 +2501,9 @@ return LR; } + +raw_ostream & +IntervalPrefixPrinter::operator()(raw_ostream &out, + const MachineInstr &instr) const { + return out << liinfo.getInstructionIndex(&instr); +}