summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Mips
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-03-11 02:12:51 +0000
committerChris Lattner <sabre@nondot.org>2011-03-11 02:12:51 +0000
commit05a23b1e616c7e5ae261320fdc41b9592a55f40d (patch)
tree1b7f92039ce80ebb585686192c6dbe56f6f22a5a /llvm/lib/Target/Mips
parentbad87feca2d4e6209b93cf7d00b3f52ff2c55f29 (diff)
downloadbcm5719-llvm-05a23b1e616c7e5ae261320fdc41b9592a55f40d.tar.gz
bcm5719-llvm-05a23b1e616c7e5ae261320fdc41b9592a55f40d.zip
silence a conditional assignment -Wuninitialized warning.
llvm-svn: 127453
Diffstat (limited to 'llvm/lib/Target/Mips')
-rw-r--r--llvm/lib/Target/Mips/MipsISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Mips/MipsISelLowering.cpp b/llvm/lib/Target/Mips/MipsISelLowering.cpp
index 20b299c0480..11a9f1a8bb9 100644
--- a/llvm/lib/Target/Mips/MipsISelLowering.cpp
+++ b/llvm/lib/Target/Mips/MipsISelLowering.cpp
@@ -1307,7 +1307,7 @@ MipsTargetLowering::LowerFormalArguments(SDValue Chain,
CCInfo.AnalyzeFormalArguments(Ins, CC_Mips);
unsigned FirstStackArgLoc = (Subtarget->isABI_EABI() ? 0 : 16);
- unsigned LastStackArgEndOffset;
+ unsigned LastStackArgEndOffset = 0;
EVT LastRegArgValVT;
for (unsigned i = 0, e = ArgLocs.size(); i != e; ++i) {
OpenPOWER on IntegriCloud