diff options
Diffstat (limited to 'contrib/llvm/lib/CodeGen/LocalStackSlotAllocation.cpp')
| -rw-r--r-- | contrib/llvm/lib/CodeGen/LocalStackSlotAllocation.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/contrib/llvm/lib/CodeGen/LocalStackSlotAllocation.cpp b/contrib/llvm/lib/CodeGen/LocalStackSlotAllocation.cpp index f90ce0c8cd2a..795028e97929 100644 --- a/contrib/llvm/lib/CodeGen/LocalStackSlotAllocation.cpp +++ b/contrib/llvm/lib/CodeGen/LocalStackSlotAllocation.cpp @@ -328,7 +328,7 @@ bool LocalStackSlotPass::insertFrameReferenceRegisters(MachineFunction &Fn) {    // Sort the frame references by local offset.    // Use frame index as a tie-breaker in case MI's have the same offset. -  llvm::sort(FrameReferenceInsns.begin(), FrameReferenceInsns.end()); +  llvm::sort(FrameReferenceInsns);    MachineBasicBlock *Entry = &Fn.front(); | 
