[llvm-commits] CVS: llvm/lib/CodeGen/PrologEpilogInserter.cpp
Nate Begeman
natebegeman at mac.com
Sun Aug 29 15:00:34 PDT 2004
Changes in directory llvm/lib/CodeGen:
PrologEpilogInserter.cpp updated: 1.36 -> 1.37
---
Log message:
Put this change back in after testing from Reid proved its innocence. getSpillSize now returns value in bits
---
Diffs of the changes: (+2 -2)
Index: llvm/lib/CodeGen/PrologEpilogInserter.cpp
diff -u llvm/lib/CodeGen/PrologEpilogInserter.cpp:1.36 llvm/lib/CodeGen/PrologEpilogInserter.cpp:1.37
--- llvm/lib/CodeGen/PrologEpilogInserter.cpp:1.36 Fri Aug 27 11:48:24 2004
+++ llvm/lib/CodeGen/PrologEpilogInserter.cpp Sun Aug 29 17:00:24 2004
@@ -181,11 +181,11 @@
int FrameIdx;
if (FixedSlot == FixedSpillSlots+NumFixedSpillSlots) {
// Nope, just spill it anywhere convenient.
- FrameIdx = FFI->CreateStackObject(RegInfo->getSpillSize(Reg),
+ FrameIdx = FFI->CreateStackObject(RegInfo->getSpillSize(Reg)/8,
RegInfo->getSpillAlignment(Reg)/8);
} else {
// Spill it to the stack where we must.
- FrameIdx = FFI->CreateFixedObject(RegInfo->getSpillSize(Reg),
+ FrameIdx = FFI->CreateFixedObject(RegInfo->getSpillSize(Reg)/8,
FixedSlot->second);
}
StackSlots.push_back(FrameIdx);
More information about the llvm-commits
mailing list