Partially revert r111155. It looks like MSVC is calling an operator<() that
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Mon, 16 Aug 2010 18:24:54 +0000 (18:24 +0000)
committerJakob 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

index f597f476feecb64abc43fddf9749913d1018ef9c..4bf7cdbdbeedc4cd13f8d9d26cd147a1717e9823 100644 (file)
@@ -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;
+    }
   };
 }