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

Brian Gaeke gaeke at cs.uiuc.edu
Tue Jul 20 16:08:05 PDT 2004



Changes in directory reopt/lib/LightWtProfiling:

UnpackTraceFunction.cpp updated: 1.99 -> 1.100

---
Log message:

I think the static stack words go at the bottom (%fp end) of the stack,
not the top (%sp end). So the registers should come above the static stack
words.


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

Index: reopt/lib/LightWtProfiling/UnpackTraceFunction.cpp
diff -u reopt/lib/LightWtProfiling/UnpackTraceFunction.cpp:1.99 reopt/lib/LightWtProfiling/UnpackTraceFunction.cpp:1.100
--- reopt/lib/LightWtProfiling/UnpackTraceFunction.cpp:1.99	Thu Jul 15 16:53:55 2004
+++ reopt/lib/LightWtProfiling/UnpackTraceFunction.cpp	Tue Jul 20 18:07:55 2004
@@ -141,7 +141,7 @@
 }
 
 unsigned UnpackTraceFunction::stackOffsetForReg (const unsigned R) const {
-  return 2047 + StaticStackSize + 176 + R * 8;
+  return 2047 + 176 + R * 8;
 }
 
 std::string UnpackTraceFunction::RegStr (const unsigned R) const {





More information about the llvm-commits mailing list