diff options
author | Chris Lattner <sabre@nondot.org> | 2011-03-11 02:12:51 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2011-03-11 02:12:51 +0000 |
commit | 109d6dbe50753f102566cd4895b69fd13f62efa4 (patch) | |
tree | faaf3a7780f4c3ed82b9be219e903d1dbbb5f51a /lib/Target/Mips | |
parent | 17fad045cccf34822d3163ada9e70a8f4528746e (diff) | |
download | external_llvm-109d6dbe50753f102566cd4895b69fd13f62efa4.zip external_llvm-109d6dbe50753f102566cd4895b69fd13f62efa4.tar.gz external_llvm-109d6dbe50753f102566cd4895b69fd13f62efa4.tar.bz2 |
silence a conditional assignment -Wuninitialized warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127453 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips')
-rw-r--r-- | lib/Target/Mips/MipsISelLowering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Mips/MipsISelLowering.cpp b/lib/Target/Mips/MipsISelLowering.cpp index 20b299c..11a9f1a 100644 --- a/lib/Target/Mips/MipsISelLowering.cpp +++ b/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) { |