forked from OSchip/llvm-project
Silence uninitialized variable warning in MipsISelDAGToDAG.cpp.
llvm-svn: 159243
This commit is contained in:
parent
ad31cd9a01
commit
d030738b8f
|
@ -129,7 +129,7 @@ void MipsDAGToDAGISel::InitGlobalBaseReg(MachineFunction &MF) {
|
||||||
const TargetInstrInfo &TII = *MF.getTarget().getInstrInfo();
|
const TargetInstrInfo &TII = *MF.getTarget().getInstrInfo();
|
||||||
DebugLoc DL = I != MBB.end() ? I->getDebugLoc() : DebugLoc();
|
DebugLoc DL = I != MBB.end() ? I->getDebugLoc() : DebugLoc();
|
||||||
unsigned V0, V1, GlobalBaseReg = MipsFI->getGlobalBaseReg();
|
unsigned V0, V1, GlobalBaseReg = MipsFI->getGlobalBaseReg();
|
||||||
int FI; // should initialize this to some kind of null
|
int FI = 0;
|
||||||
|
|
||||||
if (!Subtarget.inMips16Mode())
|
if (!Subtarget.inMips16Mode())
|
||||||
FI= MipsFI->initGlobalRegFI();
|
FI= MipsFI->initGlobalRegFI();
|
||||||
|
|
Loading…
Reference in New Issue