diff options
Diffstat (limited to 'lib/CodeGen/StackMaps.cpp')
| -rw-r--r-- | lib/CodeGen/StackMaps.cpp | 9 | 
1 files changed, 4 insertions, 5 deletions
| diff --git a/lib/CodeGen/StackMaps.cpp b/lib/CodeGen/StackMaps.cpp index 19a191c01db9..0676fa2421e8 100644 --- a/lib/CodeGen/StackMaps.cpp +++ b/lib/CodeGen/StackMaps.cpp @@ -268,11 +268,10 @@ StackMaps::parseRegisterLiveOutMask(const uint32_t *Mask) const {    // in the list. Merge entries that refer to the same dwarf register and use    // the maximum size that needs to be spilled. -  llvm::sort(LiveOuts.begin(), LiveOuts.end(), -             [](const LiveOutReg &LHS, const LiveOutReg &RHS) { -               // Only sort by the dwarf register number. -               return LHS.DwarfRegNum < RHS.DwarfRegNum; -             }); +  llvm::sort(LiveOuts, [](const LiveOutReg &LHS, const LiveOutReg &RHS) { +    // Only sort by the dwarf register number. +    return LHS.DwarfRegNum < RHS.DwarfRegNum; +  });    for (auto I = LiveOuts.begin(), E = LiveOuts.end(); I != E; ++I) {      for (auto II = std::next(I); II != E; ++II) { | 
