diff options
-rw-r--r-- | lib/CodeGen/LiveIntervalUnion.cpp | 5 | ||||
-rw-r--r-- | lib/CodeGen/LiveIntervalUnion.h | 1 |
2 files changed, 0 insertions, 6 deletions
diff --git a/lib/CodeGen/LiveIntervalUnion.cpp b/lib/CodeGen/LiveIntervalUnion.cpp index 6e2cd0fc31..9a47b3569b 100644 --- a/lib/CodeGen/LiveIntervalUnion.cpp +++ b/lib/CodeGen/LiveIntervalUnion.cpp @@ -25,11 +25,6 @@ using namespace llvm; // Consider coalescing adjacent segments to save space, even though it makes // extraction more complicated. void LiveIntervalUnion::unify(LiveInterval &lvr) { - // Add this live virtual register to the union - LiveVirtRegs::iterator pos = std::upper_bound(lvrs_.begin(), lvrs_.end(), - &lvr, less_ptr<LiveInterval>()); - assert((pos == lvrs_.end() || *pos != &lvr) && "duplicate LVR insertion"); - lvrs_.insert(pos, &lvr); // Insert each of the virtual register's live segments into the map SegmentIter segPos = segments_.begin(); for (LiveInterval::iterator lvrI = lvr.begin(), lvrEnd = lvr.end(); diff --git a/lib/CodeGen/LiveIntervalUnion.h b/lib/CodeGen/LiveIntervalUnion.h index 1eb380fa17..0beadfa47e 100644 --- a/lib/CodeGen/LiveIntervalUnion.h +++ b/lib/CodeGen/LiveIntervalUnion.h @@ -97,7 +97,6 @@ public: private: unsigned repReg_; // representative register number LiveSegments segments_; // union of virtual reg segements - LiveVirtRegs lvrs_; // set of live virtual regs in the union public: // default ctor avoids placement new |