mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-29 15:04:57 +00:00
Silence a warning when assertions are turned off.
llvm-svn: 74779
This commit is contained in:
parent
962a71b15f
commit
842ea8031b
@ -651,6 +651,7 @@ unsigned MipsInstrInfo::getGlobalBaseReg(MachineFunction *MF) const {
|
||||
Mips::CPURegsRegisterClass,
|
||||
Mips::CPURegsRegisterClass);
|
||||
assert(Ok && "Couldn't assign to global base register!");
|
||||
Ok = Ok; // Silence warning when assertions are turned off.
|
||||
RegInfo.addLiveIn(Mips::GP);
|
||||
|
||||
MipsFI->setGlobalBaseReg(GlobalBaseReg);
|
||||
|
Loading…
Reference in New Issue
Block a user