mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Silence uninitialized variable warning in MipsISelDAGToDAG.cpp.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159243 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e3e12450e6
commit
e246b52d2b
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user