diff options
author | Evan Cheng <evan.cheng@apple.com> | 2010-07-03 00:40:23 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2010-07-03 00:40:23 +0000 |
commit | ed2ae136d29dd36122d2476801e7d7a86e8301e3 (patch) | |
tree | 0d98127b18b6cd2e4d777fd52b97cbe4d434b3ef /lib/Target/MSP430 | |
parent | 2c70d4ad35e6a7beddb0b65d9176ede77ea5683e (diff) | |
download | external_llvm-ed2ae136d29dd36122d2476801e7d7a86e8301e3.zip external_llvm-ed2ae136d29dd36122d2476801e7d7a86e8301e3.tar.gz external_llvm-ed2ae136d29dd36122d2476801e7d7a86e8301e3.tar.bz2 |
Remove isSS argument from CreateFixedObject. Fixed objects cannot be spill slots so it's always false.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107550 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/MSP430')
-rw-r--r-- | lib/Target/MSP430/MSP430ISelLowering.cpp | 4 | ||||
-rw-r--r-- | lib/Target/MSP430/MSP430RegisterInfo.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/MSP430/MSP430ISelLowering.cpp b/lib/Target/MSP430/MSP430ISelLowering.cpp index 403400e..1287d02 100644 --- a/lib/Target/MSP430/MSP430ISelLowering.cpp +++ b/lib/Target/MSP430/MSP430ISelLowering.cpp @@ -369,7 +369,7 @@ MSP430TargetLowering::LowerCCCArguments(SDValue Chain, << "\n"; } // Create the frame index object for this incoming parameter... - int FI = MFI->CreateFixedObject(ObjSize, VA.getLocMemOffset(), true, false); + int FI = MFI->CreateFixedObject(ObjSize, VA.getLocMemOffset(), true); // Create the SelectionDAG nodes corresponding to a load //from this parameter @@ -888,7 +888,7 @@ MSP430TargetLowering::getReturnAddressFrameIndex(SelectionDAG &DAG) const { // Set up a frame object for the return address. uint64_t SlotSize = TD->getPointerSize(); ReturnAddrIndex = MF.getFrameInfo()->CreateFixedObject(SlotSize, -SlotSize, - true, false); + true); FuncInfo->setRAIndex(ReturnAddrIndex); } diff --git a/lib/Target/MSP430/MSP430RegisterInfo.cpp b/lib/Target/MSP430/MSP430RegisterInfo.cpp index da2cd05..e7671f3 100644 --- a/lib/Target/MSP430/MSP430RegisterInfo.cpp +++ b/lib/Target/MSP430/MSP430RegisterInfo.cpp @@ -229,7 +229,7 @@ MSP430RegisterInfo::processFunctionBeforeFrameFinalized(MachineFunction &MF) // Create a frame entry for the FPW register that must be saved. if (hasFP(MF)) { int ATTRIBUTE_UNUSED FrameIdx = - MF.getFrameInfo()->CreateFixedObject(2, -4, true, false); + MF.getFrameInfo()->CreateFixedObject(2, -4, true); assert(FrameIdx == MF.getFrameInfo()->getObjectIndexBegin() && "Slot for FPW register must be last in order to be found!"); } |