Преглед изворни кода

LiveInterval: Print weight in print() function.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@323702 91177308-0d34-0410-b5e6-96231b3b80d8
Matthias Braun пре 7 година
родитељ
комит
88fdf29ab6
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      lib/CodeGen/LiveInterval.cpp

+ 1 - 0
lib/CodeGen/LiveInterval.cpp

@@ -991,6 +991,7 @@ void LiveInterval::print(raw_ostream &OS) const {
   // Print subranges
   for (const SubRange &SR : subranges())
     OS << SR;
+  OS << " weight:" << weight;
 }
 
 #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)