[llvm-commits] CVS: reopt/tools/ttftest/ttftest.cpp

Brian Gaeke gaeke at cs.uiuc.edu
Wed Jul 7 14:13:05 PDT 2004


Changes in directory reopt/tools/ttftest:

ttftest.cpp updated: 1.6 -> 1.7

---
Log message:

Use live variable vectors instead of sets.


---
Diffs of the changes:  (+4 -4)

Index: reopt/tools/ttftest/ttftest.cpp
diff -u reopt/tools/ttftest/ttftest.cpp:1.6 reopt/tools/ttftest/ttftest.cpp:1.7
--- reopt/tools/ttftest/ttftest.cpp:1.6	Wed Jun 30 01:33:15 2004
+++ reopt/tools/ttftest/ttftest.cpp	Wed Jul  7 14:11:26 2004
@@ -38,7 +38,7 @@
 };
 
 void printLiveSet (std::ostream &OS, const std::string Banner,
-                   LiveVariableSet &S, TraceFunction *TF,
+                   LiveVariableVector &S, TraceFunction *TF,
                    bool printCorrespondingValues = true) {
   OS << Banner;
   unsigned Count = 0;
@@ -48,7 +48,7 @@
     OS << "Set is empty\n\n";
     return;
   }
-  for (LiveVariableSet::iterator i = S.begin (), e = S.end (); i != e; ++i) {
+  for (LiveVariableVector::iterator i = S.begin (), e = S.end (); i != e; ++i) {
     Value *MV = *i;
     OS << Count << ": ";
     WriteAsOperand (OS, MV, true, true, M);
@@ -67,8 +67,8 @@
 }
 
 void printLiveSets (TraceFunction *TF) {
-  printLiveSet (std::cout, "Live-in set:\n", TF->LiveInSet, TF);
-  printLiveSet (std::cout, "Live-out set:\n", TF->LiveOutSet, TF);
+  printLiveSet (std::cout, "Live-in set:\n", TF->LiveInVector, TF);
+  printLiveSet (std::cout, "Live-out set:\n", TF->LiveOutVector, TF);
 }
 
 int main (int argc, char **argv) {





More information about the llvm-commits mailing list