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

Brian Gaeke gaeke at cs.uiuc.edu
Wed May 5 14:13:07 PDT 2004


Changes in directory reopt/lib/LightWtProfiling:

RuntimeOptimizations.cpp updated: 1.30 -> 1.31

---
Log message:

Add another handy-dandy debug message


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

Index: reopt/lib/LightWtProfiling/RuntimeOptimizations.cpp
diff -u reopt/lib/LightWtProfiling/RuntimeOptimizations.cpp:1.30 reopt/lib/LightWtProfiling/RuntimeOptimizations.cpp:1.31
--- reopt/lib/LightWtProfiling/RuntimeOptimizations.cpp:1.30	Tue Apr 27 13:34:44 2004
+++ reopt/lib/LightWtProfiling/RuntimeOptimizations.cpp	Wed May  5 14:12:32 2004
@@ -121,6 +121,9 @@
   // will proceed from the optimized version of the code.
   uint64_t traceStartAddr = getPointerToGlobalIfAvailable (TF->TraceFn);
   assert (traceStartAddr && "Address of code for TraceFn was NULL after JIT?!");
+  
+  DEBUG(std::cerr << "Writing branch at 0x" << std::hex << a
+                  << " to point to 0x" << traceStartAddr << std::dec << "\n");
   vm->writeBranchInstruction(a, traceStartAddr);
   doFlush (a, a + 4);
 }





More information about the llvm-commits mailing list