summaryrefslogtreecommitdiff
path: root/lib/CodeGen/LiveInterval.cpp
diff options
context:
space:
mode:
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;
}
};