diff options
author | Alkis Evlogimenos <alkis@evlogimenos.com> | 2004-09-02 18:00:38 +0000 |
---|---|---|
committer | Alkis Evlogimenos <alkis@evlogimenos.com> | 2004-09-02 18:00:38 +0000 |
commit | dcbf893095503bed18d5809551acb488fd66fa30 (patch) | |
tree | 759df1a29e4e68c067a6e93b9a4f093ce3efb448 /llvm/lib/CodeGen/RegAllocLinearScan.cpp | |
parent | 6173878304c7f2807cbea113bf76455087abc213 (diff) | |
download | bcm5719-llvm-dcbf893095503bed18d5809551acb488fd66fa30.tar.gz bcm5719-llvm-dcbf893095503bed18d5809551acb488fd66fa30.zip |
We don't need to sort the added vector as unhandled intervals are
stored in a binary heap.
llvm-svn: 16143
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocLinearScan.cpp')
-rw-r--r-- | llvm/lib/CodeGen/RegAllocLinearScan.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/RegAllocLinearScan.cpp b/llvm/lib/CodeGen/RegAllocLinearScan.cpp index 8736a236755..0204494fd65 100644 --- a/llvm/lib/CodeGen/RegAllocLinearScan.cpp +++ b/llvm/lib/CodeGen/RegAllocLinearScan.cpp @@ -515,7 +515,6 @@ void RA::assignRegOrStackSlotAtInterval(LiveInterval* cur) } } - std::sort(added.begin(), added.end(), less_ptr<LiveInterval>()); // merge added with unhandled for (unsigned i = 0, e = added.size(); i != e; ++i) unhandled_.push(added[i]); |