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:
2944944
)
Fix the build for MSVC 9 whose upper_bound() wants to compare elements in the sorted...
author
Jakob Stoklund Olesen
<stoklund@2pi.dk>
Tue, 8 Mar 2011 19:37:54 +0000
(19:37 +0000)
committer
Jakob Stoklund Olesen
<stoklund@2pi.dk>
Tue, 8 Mar 2011 19:37:54 +0000
(19:37 +0000)
Patch by Olaf Krzikalla!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127264
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 f2345bc2c58711b9af1f4d1b3132d4e8f8fde055..585e3a2dc24ff4e12d036ce0b97df0f78a1b33a3 100644
(file)
--- a/
lib/CodeGen/LiveInterval.cpp
+++ b/
lib/CodeGen/LiveInterval.cpp
@@
-39,6
+39,9
@@
struct CompEnd {
bool operator()(const LiveRange &A, SlotIndex B) const {
return A.end < B;
}
+ bool operator()(const LiveRange &A, const LiveRange &B) const {
+ return A.end < B.end;
+ }
};
}