Distinquish stack slots from other stack objects. They (and fixed objects) get FixedS...
[oota-llvm.git] / lib / CodeGen / RegAllocLocal.cpp
index 6caa2d3b824fb6efcd6cdecb5851677139a46bcf..28ede5526b829ea1e5677a733497b6153a923e95 100644 (file)
@@ -263,7 +263,7 @@ int RALocal::getStackSpaceFor(unsigned VirtReg, const TargetRegisterClass *RC) {
 
   // Allocate a new stack object for this spill location...
   int FrameIdx = MF->getFrameInfo()->CreateStackObject(RC->getSize(),
-                                                       RC->getAlignment());
+                                                       RC->getAlignment(),true);
 
   // Assign the slot...
   StackSlotForVirtReg[VirtReg] = FrameIdx;