forked from OSchip/llvm-project
ARM: try to fix GCC 4.8 compilation again after r286881.
llvm-svn: 286882
This commit is contained in:
parent
46a6f0fbf0
commit
3d38c38826
|
@ -930,7 +930,8 @@ void ARMFrameLowering::emitPushInst(MachineBasicBlock &MBB,
|
|||
if (Regs.empty())
|
||||
continue;
|
||||
|
||||
std::sort(Regs.begin(), Regs.end(), [&](RegAndKill &LHS, RegAndKill &RHS) {
|
||||
std::sort(Regs.begin(), Regs.end(), [&](const RegAndKill &LHS,
|
||||
const RegAndKill &RHS) {
|
||||
return TRI.getEncodingValue(LHS.first) < TRI.getEncodingValue(RHS.first);
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue