mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-11 11:34:02 +00:00
Mark variable used by 'assert' as 'unused'.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92198 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
57f08adbb3
commit
202249a698
@ -270,10 +270,10 @@ MSP430RegisterInfo::processFunctionBeforeFrameFinalized(MachineFunction &MF)
|
|||||||
const {
|
const {
|
||||||
// Create a frame entry for the FPW register that must be saved.
|
// Create a frame entry for the FPW register that must be saved.
|
||||||
if (hasFP(MF)) {
|
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() &&
|
assert(FrameIdx == MF.getFrameInfo()->getObjectIndexBegin() &&
|
||||||
"Slot for FPW register must be last in order to be found!");
|
"Slot for FPW register must be last in order to be found!");
|
||||||
FrameIdx = 0;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user