mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Call llvm_unreachable instead of assert.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170822 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c923121151
commit
a40ba2b3b2
@ -148,7 +148,7 @@ void Mips16RegisterInfo::eliminateFI(MachineBasicBlock::iterator II,
|
||||
|
||||
if (!MI.isDebugValue() && ( ((FrameReg != Mips::SP) && !isInt<16>(Offset)) ||
|
||||
((FrameReg == Mips::SP) && !isInt<15>(Offset)) )) {
|
||||
assert(false && "frame offset does not fit in instruction");
|
||||
llvm_unreachable("frame offset does not fit in instruction");
|
||||
}
|
||||
MI.getOperand(OpNo).ChangeToRegister(FrameReg, false);
|
||||
MI.getOperand(OpNo + 1).ChangeToImmediate(Offset);
|
||||
|
Loading…
Reference in New Issue
Block a user