mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-25 05:15:58 +00:00
Fix unused variable error.
Earlier, this variable was used in an assert and was causing failure on darwin. llvm-svn: 181630
This commit is contained in:
parent
f20d85d4ad
commit
9c76c6e3f4
@ -184,8 +184,7 @@ void HexagonFrameLowering::emitEpilogue(MachineFunction &MF,
|
||||
const TargetInstrInfo &TII = *MF.getTarget().getInstrInfo();
|
||||
// Handle EH_RETURN.
|
||||
if (MBBI->getOpcode() == Hexagon::EH_RETURN_JMPR) {
|
||||
MachineOperand &OffsetReg = MBBI->getOperand(0);
|
||||
assert(OffsetReg.isReg() && "Offset should be in register!");
|
||||
assert(MBBI->getOperand(0).isReg() && "Offset should be in register!");
|
||||
BuildMI(MBB, MBBI, dl, TII.get(Hexagon::DEALLOCFRAME));
|
||||
BuildMI(MBB, MBBI, dl, TII.get(Hexagon::ADD_rr),
|
||||
Hexagon::R29).addReg(Hexagon::R29).addReg(Hexagon::R28);
|
||||
|
Loading…
x
Reference in New Issue
Block a user