summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
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
commita28879b8246886f8915cb68f1a242c6b4565a422 (patch)
treebf8044c6ef64b4616135702f6dae4e92a2a34783 /llvm/lib/CodeGen
parent95d3e370f4ae8cc7fb297ad86f5bc28d51ee929b (diff)
downloadbcm5719-llvm-a28879b8246886f8915cb68f1a242c6b4565a422.tar.gz
bcm5719-llvm-a28879b8246886f8915cb68f1a242c6b4565a422.zip
Revert "Make a comparator's argument `const'. This fixes the build for
MSVC 9." The "fix" was meaningless. This reverts commit r127245. llvm-svn: 127260
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/LiveInterval.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LiveInterval.cpp b/llvm/lib/CodeGen/LiveInterval.cpp
index 40b50286f90..f2345bc2c58 100644
--- a/llvm/lib/CodeGen/LiveInterval.cpp
+++ b/llvm/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;
}
};
OpenPOWER on IntegriCloud