forked from OSchip/llvm-project
LiveInterval: Print weight in print() function.
llvm-svn: 323702
This commit is contained in:
parent
d0c89f851b
commit
bd4bc3f186
|
@ -991,6 +991,7 @@ void LiveInterval::print(raw_ostream &OS) const {
|
||||||
// Print subranges
|
// Print subranges
|
||||||
for (const SubRange &SR : subranges())
|
for (const SubRange &SR : subranges())
|
||||||
OS << SR;
|
OS << SR;
|
||||||
|
OS << " weight:" << weight;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
|
#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
|
||||||
|
|
Loading…
Reference in New Issue