diff options
author | Alkis Evlogimenos <alkis@evlogimenos.com> | 2004-07-24 18:55:15 +0000 |
---|---|---|
committer | Alkis Evlogimenos <alkis@evlogimenos.com> | 2004-07-24 18:55:15 +0000 |
commit | e0ab16fe5475888742786978a4139d84fdb0e537 (patch) | |
tree | 88d56a5df3c7aadb2147bed3d403b8e1a5c61d68 /llvm/lib/CodeGen/LiveInterval.h | |
parent | cf72e7f8547076a5b3d74aa8bfc311253558d4da (diff) | |
download | bcm5719-llvm-e0ab16fe5475888742786978a4139d84fdb0e537.tar.gz bcm5719-llvm-e0ab16fe5475888742786978a4139d84fdb0e537.zip |
Remove implementation of operator= and make it private so that it is
not used accidentally.
llvm-svn: 15172
Diffstat (limited to 'llvm/lib/CodeGen/LiveInterval.h')
-rw-r--r-- | llvm/lib/CodeGen/LiveInterval.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/llvm/lib/CodeGen/LiveInterval.h b/llvm/lib/CodeGen/LiveInterval.h index dde7a86712c..673dc7f4430 100644 --- a/llvm/lib/CodeGen/LiveInterval.h +++ b/llvm/lib/CodeGen/LiveInterval.h @@ -76,14 +76,6 @@ namespace llvm { : reg(Reg), weight(Weight), NumValues(0) { } - LiveInterval& operator=(const LiveInterval& rhs) { - reg = rhs.reg; - weight = rhs.weight; - ranges = rhs.ranges; - NumValues = rhs.NumValues; - return *this; - } - void swap(LiveInterval& other) { std::swap(reg, other.reg); std::swap(weight, other.weight); @@ -160,6 +152,7 @@ namespace llvm { Ranges::iterator addRangeFrom(LiveRange LR, Ranges::iterator From); void extendIntervalEndTo(Ranges::iterator I, unsigned NewEnd); Ranges::iterator extendIntervalStartTo(Ranges::iterator I, unsigned NewStr); + LiveInterval& operator=(const LiveInterval& rhs); // DO NOT IMPLEMENT }; std::ostream& operator<<(std::ostream& os, const LiveInterval& li); |