diff options
| author | Matthias Braun <matze@braunis.de> | 2017-03-01 21:02:47 +0000 |
|---|---|---|
| committer | Matthias Braun <matze@braunis.de> | 2017-03-01 21:02:47 +0000 |
| commit | cc26b91afb95448bc3bac07ca1f8a7fb23b0e80a (patch) | |
| tree | fcbca0bfa7e383245e6d4eebd0a3f296fbf3e7f5 | |
| parent | 3063affbedd8480651ea2bf1941f2f0edd5a1d74 (diff) | |
| download | bcm5719-llvm-cc26b91afb95448bc3bac07ca1f8a7fb23b0e80a.tar.gz bcm5719-llvm-cc26b91afb95448bc3bac07ca1f8a7fb23b0e80a.zip | |
LiveIntervalUnion: Remove unused functions; NFC
Remove two unused functions that are in fact bad API and should not be
called anyway.
llvm-svn: 296674
| -rw-r--r-- | llvm/include/llvm/CodeGen/LiveIntervalUnion.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/include/llvm/CodeGen/LiveIntervalUnion.h b/llvm/include/llvm/CodeGen/LiveIntervalUnion.h index 5aa3974e1b3..da38085a30c 100644 --- a/llvm/include/llvm/CodeGen/LiveIntervalUnion.h +++ b/llvm/include/llvm/CodeGen/LiveIntervalUnion.h @@ -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; } |

