[llvm-commits] CVS: reopt/lib/LightWtProfiling/RuntimeOptimizations.cpp

Brian Gaeke gaeke at cs.uiuc.edu
Fri Apr 23 15:37:05 PDT 2004


Changes in directory reopt/lib/LightWtProfiling:

RuntimeOptimizations.cpp updated: 1.28 -> 1.29

---
Log message:

Update comments.


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

Index: reopt/lib/LightWtProfiling/RuntimeOptimizations.cpp
diff -u reopt/lib/LightWtProfiling/RuntimeOptimizations.cpp:1.28 reopt/lib/LightWtProfiling/RuntimeOptimizations.cpp:1.29
--- reopt/lib/LightWtProfiling/RuntimeOptimizations.cpp:1.28	Fri Apr 23 12:11:40 2004
+++ reopt/lib/LightWtProfiling/RuntimeOptimizations.cpp	Fri Apr 23 15:35:53 2004
@@ -41,8 +41,8 @@
 
 /// This method is called when we have finally constructed a
 /// trace. The first parameter is the vector of basic blocks that form
-/// the trace; the second parameter is presumably one of the starting
-/// addresses for the trace.
+/// the trace; the second parameter is the starting
+/// address for the trace.
 ///
 void optimizeTrace (std::vector<BasicBlock *> &vBB, uint64_t a) {
   static std::set<uint64_t> alreadyDone;
@@ -89,9 +89,10 @@
   Target->addPassesToEmitMachineCode (PM, *MCE);
   PM.run (*TF->TraceFn);
 
-  // Add a branch from the entry basic block of the trace in the MatrixFn to the 
+  // Add a branch from address A (the parameter to this method) to the 
   // entry basic block of the unpacked TraceFn. Future executions of the trace
   // will proceed from the optimized version of the code.
+  
   
 }
 





More information about the llvm-commits mailing list