[llvm] r296674 - LiveIntervalUnion: Remove unused functions; NFC
Matthias Braun via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 1 13:02:47 PST 2017
Author: matze
Date: Wed Mar 1 15:02:47 2017
New Revision: 296674
URL: http://llvm.org/viewvc/llvm-project?rev=296674&view=rev
Log:
LiveIntervalUnion: Remove unused functions; NFC
Remove two unused functions that are in fact bad API and should not be
called anyway.
Modified:
llvm/trunk/include/llvm/CodeGen/LiveIntervalUnion.h
Modified: llvm/trunk/include/llvm/CodeGen/LiveIntervalUnion.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/LiveIntervalUnion.h?rev=296674&r1=296673&r2=296674&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/LiveIntervalUnion.h (original)
+++ llvm/trunk/include/llvm/CodeGen/LiveIntervalUnion.h Wed Mar 1 15:02:47 2017
@@ -87,15 +87,9 @@ public:
// Add a live virtual register to this union and merge its segments.
void unify(LiveInterval &VirtReg, const LiveRange &Range);
- void unify(LiveInterval &VirtReg) {
- unify(VirtReg, VirtReg);
- }
// Remove a live virtual register's segments from this union.
void extract(LiveInterval &VirtReg, const LiveRange &Range);
- void extract(LiveInterval &VirtReg) {
- extract(VirtReg, VirtReg);
- }
// Remove all inserted virtual registers.
void clear() { Segments.clear(); ++Tag; }
More information about the llvm-commits
mailing list