[llvm-commits] CVS: reopt/lib/LightWtProfiling/UnpackTraceFunction.cpp
Brian Gaeke
gaeke at cs.uiuc.edu
Mon Apr 26 14:48:02 PDT 2004
Changes in directory reopt/lib/LightWtProfiling:
UnpackTraceFunction.cpp updated: 1.57 -> 1.58
---
Log message:
Make sure we have enough space for any register we want to save. Later
on, we should try to compact the stack layout, and not take up so much
space on every trace entry.
---
Diffs of the changes: (+1 -1)
Index: reopt/lib/LightWtProfiling/UnpackTraceFunction.cpp
diff -u reopt/lib/LightWtProfiling/UnpackTraceFunction.cpp:1.57 reopt/lib/LightWtProfiling/UnpackTraceFunction.cpp:1.58
--- reopt/lib/LightWtProfiling/UnpackTraceFunction.cpp:1.57 Wed Apr 21 16:05:31 2004
+++ reopt/lib/LightWtProfiling/UnpackTraceFunction.cpp Mon Apr 26 14:47:32 2004
@@ -266,7 +266,7 @@
DEBUG(std::cerr << " )\n");
// 2. Get some stack space: (Stack Frame Size + Space for Regs).
- int Size = (stackSize + 32 * 8);
+ int Size = (stackSize + 104 * 8);
E.push_back (BuildMI (V9::ADDi, 3).addMReg (sp).addSImm (-Size).addMReg (sp,
MachineOperand::Def));
More information about the llvm-commits
mailing list