mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-17 16:46:50 +00:00
Mark variable used by 'assert' as 'unused'.
llvm-svn: 92198
This commit is contained in:
parent
a717566a5c
commit
5457c30e95
@ -270,10 +270,10 @@ MSP430RegisterInfo::processFunctionBeforeFrameFinalized(MachineFunction &MF)
|
||||
const {
|
||||
// Create a frame entry for the FPW register that must be saved.
|
||||
if (hasFP(MF)) {
|
||||
int FrameIdx = MF.getFrameInfo()->CreateFixedObject(2, -4, true, false);
|
||||
int ATTRIBUTE_UNUSED FrameIdx =
|
||||
MF.getFrameInfo()->CreateFixedObject(2, -4, true, false);
|
||||
assert(FrameIdx == MF.getFrameInfo()->getObjectIndexBegin() &&
|
||||
"Slot for FPW register must be last in order to be found!");
|
||||
FrameIdx = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user