diff options
| author | Matthias Braun <matze@braunis.de> | 2013-10-10 21:29:05 +0000 |
|---|---|---|
| committer | Matthias Braun <matze@braunis.de> | 2013-10-10 21:29:05 +0000 |
| commit | f6fe6bfffeefdd569fd3c52b681a11a777c2a738 (patch) | |
| tree | 6e2bcdb053e19922c8026ff304ca7b8840429db0 /llvm/lib/CodeGen/LiveInterval.cpp | |
| parent | 34e1be94519594a4afd7bbf7ec11fd86ce0c86de (diff) | |
| download | bcm5719-llvm-f6fe6bfffeefdd569fd3c52b681a11a777c2a738.tar.gz bcm5719-llvm-f6fe6bfffeefdd569fd3c52b681a11a777c2a738.zip | |
Print register in LiveInterval::print()
llvm-svn: 192398
Diffstat (limited to 'llvm/lib/CodeGen/LiveInterval.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/LiveInterval.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/LiveInterval.cpp b/llvm/lib/CodeGen/LiveInterval.cpp index f7b5d64b100..2b8feb8c3b4 100644 --- a/llvm/lib/CodeGen/LiveInterval.cpp +++ b/llvm/lib/CodeGen/LiveInterval.cpp @@ -617,10 +617,19 @@ void LiveRange::print(raw_ostream &OS) const { } } +void LiveInterval::print(raw_ostream &OS) const { + OS << PrintReg(reg) << ' '; + super::print(OS); +} + #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP) void LiveRange::dump() const { dbgs() << *this << "\n"; } + +void LiveInterval::dump() const { + dbgs() << *this << "\n"; +} #endif #ifndef NDEBUG |

