aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen
diff options
context:
space:
mode:
authorAlkis Evlogimenos <alkis@evlogimenos.com>2004-07-24 18:55:15 +0000
committerAlkis Evlogimenos <alkis@evlogimenos.com>2004-07-24 18:55:15 +0000
commit3f86193cd2153595f0e32d8a8d8a0e7d4ec97faf (patch)
tree61a70bb51f420a63409d7b738854c0f371446538 /lib/CodeGen
parenta1613db62fec94845aa8306232fb665273615bad (diff)
downloadexternal_llvm-3f86193cd2153595f0e32d8a8d8a0e7d4ec97faf.zip
external_llvm-3f86193cd2153595f0e32d8a8d8a0e7d4ec97faf.tar.gz
external_llvm-3f86193cd2153595f0e32d8a8d8a0e7d4ec97faf.tar.bz2
Remove implementation of operator= and make it private so that it is
not used accidentally. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15172 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r--lib/CodeGen/LiveInterval.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/CodeGen/LiveInterval.h b/lib/CodeGen/LiveInterval.h
index dde7a86..673dc7f 100644
--- a/lib/CodeGen/LiveInterval.h
+++ b/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);