[llvm-commits] CVS: reopt/include/reopt/UnpackTraceFunction.h
Brian Gaeke
gaeke at cs.uiuc.edu
Sun May 30 14:41:02 PDT 2004
Changes in directory reopt/include/reopt:
UnpackTraceFunction.h updated: 1.4 -> 1.5
---
Log message:
Constify stackOffsetForReg.
---
Diffs of the changes: (+1 -1)
Index: reopt/include/reopt/UnpackTraceFunction.h
diff -u reopt/include/reopt/UnpackTraceFunction.h:1.4 reopt/include/reopt/UnpackTraceFunction.h:1.5
--- reopt/include/reopt/UnpackTraceFunction.h:1.4 Sun May 30 14:36:14 2004
+++ reopt/include/reopt/UnpackTraceFunction.h Sun May 30 14:39:49 2004
@@ -46,7 +46,7 @@
std::map<Value *, std::pair<AllocInfo, AllocInfo> > AllocStates;
unsigned getStaticStackSize (MachineFunction &MF);
- unsigned stackOffsetForReg (unsigned R);
+ unsigned stackOffsetForReg (const unsigned R) const;
void findRegsToSave (MachineFunction &MF);
const MachineInstr *containsReturnInstr (MachineBasicBlock &B);
void rewriteProlog (MachineFunction &MF, MachineBasicBlock &MBB);
More information about the llvm-commits
mailing list