[llvm-commits] [llvm] r127260 - /llvm/trunk/lib/CodeGen/LiveInterval.cpp

Oscar Fuentes ofv at wanadoo.es
Tue Mar 8 11:26:21 PST 2011


Author: ofv
Date: Tue Mar  8 13:26:21 2011
New Revision: 127260

URL: http://llvm.org/viewvc/llvm-project?rev=127260&view=rev
Log:
Revert "Make a comparator's argument `const'. This fixes the build for
MSVC 9."

The "fix" was meaningless.

This reverts commit r127245.

Modified:
    llvm/trunk/lib/CodeGen/LiveInterval.cpp

Modified: llvm/trunk/lib/CodeGen/LiveInterval.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/LiveInterval.cpp?rev=127260&r1=127259&r2=127260&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/LiveInterval.cpp (original)
+++ llvm/trunk/lib/CodeGen/LiveInterval.cpp Tue Mar  8 13:26:21 2011
@@ -36,7 +36,7 @@
   bool operator()(SlotIndex A, const LiveRange &B) const {
     return A < B.end;
   }
-  bool operator()(const LiveRange &A, const SlotIndex B) const {
+  bool operator()(const LiveRange &A, SlotIndex B) const {
     return A.end < B;
   }
 };





More information about the llvm-commits mailing list