mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-17 03:30:28 +00:00
Fix the build for MSVC 9 whose upper_bound() wants to compare elements in the sorted array.
Patch by Olaf Krzikalla! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127264 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
29449448b0
commit
5bf76cd119
@ -39,6 +39,9 @@ struct CompEnd {
|
|||||||
bool operator()(const LiveRange &A, SlotIndex B) const {
|
bool operator()(const LiveRange &A, SlotIndex B) const {
|
||||||
return A.end < B;
|
return A.end < B;
|
||||||
}
|
}
|
||||||
|
bool operator()(const LiveRange &A, const LiveRange &B) const {
|
||||||
|
return A.end < B.end;
|
||||||
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user