Distinquish stack slots from other stack objects. They (and fixed objects) get FixedS...
[oota-llvm.git] / lib / CodeGen / PrologEpilogInserter.cpp
index 7af0bba19735281740f06b9b0e14764e7b72504e..8a0b003e92cf330013d6dafcfcec492d06ecbbbb 100644 (file)
@@ -259,7 +259,7 @@ void PEI::calculateCalleeSavedRegisters(MachineFunction &Fn) {
       // the TargetRegisterClass if the stack alignment is smaller. Use the
       // min.
       Align = std::min(Align, StackAlign);
-      FrameIdx = FFI->CreateStackObject(RC->getSize(), Align);
+      FrameIdx = FFI->CreateStackObject(RC->getSize(), Align, true);
       if ((unsigned)FrameIdx < MinCSFrameIndex) MinCSFrameIndex = FrameIdx;
       if ((unsigned)FrameIdx > MaxCSFrameIndex) MaxCSFrameIndex = FrameIdx;
     } else {