OSDN Git Service

Back out change to divide getSpillSize by 8 until I figure out why it breaks x86...
authorNate Begeman <natebegeman@mac.com>
Fri, 27 Aug 2004 16:48:24 +0000 (16:48 +0000)
committerNate Begeman <natebegeman@mac.com>
Fri, 27 Aug 2004 16:48:24 +0000 (16:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16073 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/PrologEpilogInserter.cpp

index 1aee69f..c717556 100644 (file)
@@ -181,11 +181,11 @@ void PEI::calculateCallerSavedRegisters(MachineFunction &Fn) {
     int FrameIdx;
     if (FixedSlot == FixedSpillSlots+NumFixedSpillSlots) {
       // Nope, just spill it anywhere convenient.
-      FrameIdx = FFI->CreateStackObject(RegInfo->getSpillSize(Reg)/8,
+      FrameIdx = FFI->CreateStackObject(RegInfo->getSpillSize(Reg),
                                         RegInfo->getSpillAlignment(Reg)/8);
     } else {
       // Spill it to the stack where we must.
-      FrameIdx = FFI->CreateFixedObject(RegInfo->getSpillSize(Reg)/8,
+      FrameIdx = FFI->CreateFixedObject(RegInfo->getSpillSize(Reg),
                                         FixedSlot->second);
     }
     StackSlots.push_back(FrameIdx);