diff options
author | Bill Wendling <isanbard@gmail.com> | 2009-12-28 02:07:00 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2009-12-28 02:07:00 +0000 |
commit | 5dda76ef1196bc4e6c85c557e7d789033b38c1cf (patch) | |
tree | da4fe2dd1eb03f2cf9af77c245fe4baab9c95cba /llvm/lib/Target/MSP430/MSP430RegisterInfo.cpp | |
parent | 220f4dad9e87a3a722977f83ac3ffe4a00d1cd54 (diff) | |
download | bcm5719-llvm-5dda76ef1196bc4e6c85c557e7d789033b38c1cf.tar.gz bcm5719-llvm-5dda76ef1196bc4e6c85c557e7d789033b38c1cf.zip |
Mark variable used by 'assert' as 'unused'.
llvm-svn: 92198
Diffstat (limited to 'llvm/lib/Target/MSP430/MSP430RegisterInfo.cpp')
-rw-r--r-- | llvm/lib/Target/MSP430/MSP430RegisterInfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/MSP430/MSP430RegisterInfo.cpp b/llvm/lib/Target/MSP430/MSP430RegisterInfo.cpp index da3ba05a1c4..566d9028d48 100644 --- a/llvm/lib/Target/MSP430/MSP430RegisterInfo.cpp +++ b/llvm/lib/Target/MSP430/MSP430RegisterInfo.cpp @@ -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; } } |