projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Partially revert r111155. It looks like MSVC is calling an operator<() that
[oota-llvm.git]
/
lib
/
Target
/
X86
/
X86FloatingPoint.cpp
diff --git
a/lib/Target/X86/X86FloatingPoint.cpp
b/lib/Target/X86/X86FloatingPoint.cpp
index f597f476feecb64abc43fddf9749913d1018ef9c..4bf7cdbdbeedc4cd13f8d9d26cd147a1717e9823 100644
(file)
--- a/
lib/Target/X86/X86FloatingPoint.cpp
+++ b/
lib/Target/X86/X86FloatingPoint.cpp
@@
-572,6
+572,9
@@
namespace {
friend bool operator<(const TableEntry &TE, unsigned V) {
return TE.from < V;
}
+ friend bool operator<(unsigned V, const TableEntry &TE) {
+ return V < TE.from;
+ }
};
}