forked from OSchip/llvm-project
LiveIntervalUnion: Remove unused functions; NFC
Remove two unused functions that are in fact bad API and should not be called anyway. llvm-svn: 296674
This commit is contained in:
parent
3063affbed
commit
cc26b91afb
|
@ -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; }
|
||||
|
|
Loading…
Reference in New Issue