projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57f08ad
)
Mark variable used by 'assert' as 'unused'.
author
Bill Wendling
<isanbard@gmail.com>
Mon, 28 Dec 2009 02:07:00 +0000
(
02:07
+0000)
committer
Bill Wendling
<isanbard@gmail.com>
Mon, 28 Dec 2009 02:07:00 +0000
(
02:07
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92198
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/MSP430/MSP430RegisterInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/MSP430/MSP430RegisterInfo.cpp
b/lib/Target/MSP430/MSP430RegisterInfo.cpp
index da3ba05a1c4ecedbc46b8067124bc3d5368fe85f..566d9028d48f6bde1facf2591b523166c499ffda 100644
(file)
--- a/
lib/Target/MSP430/MSP430RegisterInfo.cpp
+++ b/
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;
}
}