mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-03 00:33:09 +00:00
Revert "Make a comparator's argument `const'. This fixes the build for
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
This commit is contained in:
parent
8270da8baf
commit
3aefa7771d
@ -36,7 +36,7 @@ struct CompEnd {
|
|||||||
bool operator()(SlotIndex A, const LiveRange &B) const {
|
bool operator()(SlotIndex A, const LiveRange &B) const {
|
||||||
return A < B.end;
|
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;
|
return A.end < B;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user