commit | 6620e3b2f6937c6b862407043aa49a1efb6f19df | [log] [tgz] |
---|---|---|
author | Fangrui Song <maskray@google.com> | Sun Jun 23 13:16:03 2019 +0000 |
committer | Fangrui Song <maskray@google.com> | Sun Jun 23 13:16:03 2019 +0000 |
tree | 7de1eed31337b98dc9c9d6b66ef8b83f4a2dd699 | |
parent | 6ddc7912b0ec9e3b9c136a052dfe9530db74d3da [diff] [blame] |
SlotIndexes: simplify IdxMBBPair operators llvm-svn: 364152
diff --git a/llvm/lib/CodeGen/SlotIndexes.cpp b/llvm/lib/CodeGen/SlotIndexes.cpp index a55e74c..ce00fa9 100644 --- a/llvm/lib/CodeGen/SlotIndexes.cpp +++ b/llvm/lib/CodeGen/SlotIndexes.cpp
@@ -94,7 +94,7 @@ } // Sort the Idx2MBBMap - llvm::sort(idx2MBBMap, Idx2MBBCompare()); + llvm::sort(idx2MBBMap, less_first()); LLVM_DEBUG(mf->print(dbgs(), this));