projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6324934
)
Partially revert r111155. It looks like MSVC is calling an operator<() that
author
Jakob Stoklund Olesen
<stoklund@2pi.dk>
Mon, 16 Aug 2010 18:24:54 +0000
(18:24 +0000)
committer
Jakob Stoklund Olesen
<stoklund@2pi.dk>
Mon, 16 Aug 2010 18:24:54 +0000
(18:24 +0000)
clang says is unused.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111167
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86FloatingPoint.cpp
patch
|
blob
|
history
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;
+ }
};
}