projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8270da8
)
Revert "Make a comparator's argument `const'. This fixes the build for
author
Oscar Fuentes
<ofv@wanadoo.es>
Tue, 8 Mar 2011 19:26:21 +0000
(19:26 +0000)
committer
Oscar Fuentes
<ofv@wanadoo.es>
Tue, 8 Mar 2011 19:26:21 +0000
(19:26 +0000)
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
lib/CodeGen/LiveInterval.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/LiveInterval.cpp
b/lib/CodeGen/LiveInterval.cpp
index 40b50286f9060f304d8579af9f234c21ee5ca60b..f2345bc2c58711b9af1f4d1b3132d4e8f8fde055 100644
(file)
--- 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;
}
};