mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-15 07:34:33 +00:00
remove an uneeded statement (condition is covered by the statement
that follows). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197358 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9969630d6d
commit
10f818b5dd
@ -171,7 +171,6 @@ unsigned Mips16InstrInfo::getOppositeBranchOpc(unsigned Opc) const {
|
|||||||
|
|
||||||
static void addSaveRestoreRegs(MachineInstrBuilder &MIB,
|
static void addSaveRestoreRegs(MachineInstrBuilder &MIB,
|
||||||
const std::vector<CalleeSavedInfo> &CSI, unsigned Flags=0) {
|
const std::vector<CalleeSavedInfo> &CSI, unsigned Flags=0) {
|
||||||
if (CSI.size()==0) return;
|
|
||||||
for (unsigned i = 0, e = CSI.size(); i != e; ++i) {
|
for (unsigned i = 0, e = CSI.size(); i != e; ++i) {
|
||||||
// Add the callee-saved register as live-in. Do not add if the register is
|
// Add the callee-saved register as live-in. Do not add if the register is
|
||||||
// RA and return address is taken, because it has already been added in
|
// RA and return address is taken, because it has already been added in
|
||||||
@ -192,7 +191,6 @@ static void addSaveRestoreRegs(MachineInstrBuilder &MIB,
|
|||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
// Adjust SP by FrameSize bytes. Save RA, S0, S1
|
// Adjust SP by FrameSize bytes. Save RA, S0, S1
|
||||||
void Mips16InstrInfo::makeFrame(unsigned SP, int64_t FrameSize,
|
void Mips16InstrInfo::makeFrame(unsigned SP, int64_t FrameSize,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user