1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

Remove implementation of operator= and make it private so that it is

not used accidentally.

llvm-svn: 15172
This commit is contained in:
Alkis Evlogimenos 2004-07-24 18:55:15 +00:00
parent 0618429149
commit 2faa6cdc75

View File

@ -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);