diff options
| author | Akira Hatanaka <ahatanaka@mips.com> | 2012-06-27 00:49:46 +0000 | 
|---|---|---|
| committer | Akira Hatanaka <ahatanaka@mips.com> | 2012-06-27 00:49:46 +0000 | 
| commit | d030738b8fb7ea2e4943fdf1be2ecce30a92f58c (patch) | |
| tree | 32967e6f490d999ab457eb2880bd042d36175a26 | |
| parent | ad31cd9a01ca120d8a81f8a6d17c98b455c46023 (diff) | |
| download | bcm5719-llvm-d030738b8fb7ea2e4943fdf1be2ecce30a92f58c.tar.gz bcm5719-llvm-d030738b8fb7ea2e4943fdf1be2ecce30a92f58c.zip  | |
Silence uninitialized variable warning in MipsISelDAGToDAG.cpp.
llvm-svn: 159243
| -rw-r--r-- | llvm/lib/Target/Mips/MipsISelDAGToDAG.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Mips/MipsISelDAGToDAG.cpp b/llvm/lib/Target/Mips/MipsISelDAGToDAG.cpp index 9f1c0f6d2f3..c409e570211 100644 --- a/llvm/lib/Target/Mips/MipsISelDAGToDAG.cpp +++ b/llvm/lib/Target/Mips/MipsISelDAGToDAG.cpp @@ -129,7 +129,7 @@ void MipsDAGToDAGISel::InitGlobalBaseReg(MachineFunction &MF) {    const TargetInstrInfo &TII = *MF.getTarget().getInstrInfo();    DebugLoc DL = I != MBB.end() ? I->getDebugLoc() : DebugLoc();    unsigned V0, V1, GlobalBaseReg = MipsFI->getGlobalBaseReg(); -  int FI;  // should initialize this to some kind of null +  int FI = 0;     if (!Subtarget.inMips16Mode())      FI= MipsFI->initGlobalRegFI();  | 

