forked from OSchip/llvm-project
[X86] Make the X86FrameSortingComparator operator const. NFCI.
Fixes a cppcheck remark.
This commit is contained in:
parent
4da6a48399
commit
e0cbcf96ce
|
@ -3362,7 +3362,7 @@ struct X86FrameSortingObject {
|
|||
// at the end of our list.
|
||||
struct X86FrameSortingComparator {
|
||||
inline bool operator()(const X86FrameSortingObject &A,
|
||||
const X86FrameSortingObject &B) {
|
||||
const X86FrameSortingObject &B) const {
|
||||
uint64_t DensityAScaled, DensityBScaled;
|
||||
|
||||
// For consistency in our comparison, all invalid objects are placed
|
||||
|
|
Loading…
Reference in New Issue