summaryrefslogtreecommitdiff
path: root/lib/CodeGen/LiveInterval.cpp
diff options
context:
space:
mode:
authorOscar Fuentes <ofv@wanadoo.es>2011-03-08 19:26:21 +0000
committerOscar Fuentes <ofv@wanadoo.es>2011-03-08 19:26:21 +0000
commit3aefa7771d656fe9a0d6825dae35e28e60f0273f (patch)
tree1345f657323dc3971fc80abd140b749165ed0cce /lib/CodeGen/LiveInterval.cpp
parent8270da8bafb90141ec513e6c71dfcbeb3cb6fe74 (diff)
downloadllvm-3aefa7771d656fe9a0d6825dae35e28e60f0273f.tar.gz
llvm-3aefa7771d656fe9a0d6825dae35e28e60f0273f.tar.bz2
llvm-3aefa7771d656fe9a0d6825dae35e28e60f0273f.tar.xz
Revert "Make a comparator's argument `const'. This fixes the build for
MSVC 9." The "fix" was meaningless. This reverts commit r127245. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127260 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LiveInterval.cpp')
-rw-r--r--lib/CodeGen/LiveInterval.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/LiveInterval.cpp b/lib/CodeGen/LiveInterval.cpp
index 40b50286f9..f2345bc2c5 100644
--- a/lib/CodeGen/LiveInterval.cpp
+++ b/lib/CodeGen/LiveInterval.cpp
@@ -36,7 +36,7 @@ struct CompEnd {
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;
}
};