mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-27 06:54:30 +00:00
Patches by Chuck Rose to unbreak V Studio builds.
Thanks Chuck! llvm-svn: 37428
This commit is contained in:
parent
a68662e4a4
commit
d2b1274d1b
@ -232,6 +232,13 @@ namespace {
|
||||
bool operator<(unsigned to) const {
|
||||
return To < to;
|
||||
}
|
||||
bool operator>(unsigned to) const {
|
||||
return To > to;
|
||||
}
|
||||
|
||||
friend bool operator<(unsigned to, const Edge &edge) {
|
||||
return edge.operator>(to);
|
||||
}
|
||||
};
|
||||
|
||||
/// A single node in the InequalityGraph. This stores the canonical Value
|
||||
@ -669,6 +676,14 @@ namespace {
|
||||
bool operator<(const Value *value) const {
|
||||
return V < value;
|
||||
}
|
||||
|
||||
bool operator>(const Value *value) const {
|
||||
return V > value;
|
||||
}
|
||||
|
||||
friend bool operator<(const Value *value, const ScopedRange &range) {
|
||||
return range.operator>(value);
|
||||
}
|
||||
};
|
||||
|
||||
TargetData *TD;
|
||||
|
@ -478,6 +478,7 @@ void RegisterInfoEmitter::run(std::ostream &OS) {
|
||||
OS << " }; break;\n";
|
||||
}
|
||||
OS << " };\n";
|
||||
OS << " return 0;\n";
|
||||
OS << "}\n\n";
|
||||
|
||||
// Emit the constructor of the class...
|
||||
|
Loading…
x
Reference in New Issue
Block a user