diff options
| author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-08-16 18:24:54 +0000 |
|---|---|---|
| committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-08-16 18:24:54 +0000 |
| commit | 2cd00737c0dcabe012b2674812d480e64dc68ff1 (patch) | |
| tree | 7db078d46212dc9856ffd6dd931d6d6068ea33c9 /llvm/lib | |
| parent | 6ebb51a41d47e8743a5eae47e7fdf23aa34068aa (diff) | |
| download | bcm5719-llvm-2cd00737c0dcabe012b2674812d480e64dc68ff1.tar.gz bcm5719-llvm-2cd00737c0dcabe012b2674812d480e64dc68ff1.zip | |
Partially revert r111155. It looks like MSVC is calling an operator<() that
clang says is unused.
llvm-svn: 111167
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Target/X86/X86FloatingPoint.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Target/X86/X86FloatingPoint.cpp b/llvm/lib/Target/X86/X86FloatingPoint.cpp index f597f476fee..4bf7cdbdbee 100644 --- a/llvm/lib/Target/X86/X86FloatingPoint.cpp +++ b/llvm/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; + } }; } |

