mirror of
https://github.com/Atmosphere-NX/Atmosphere-libs.git
synced 2025-07-17 06:32:14 +02:00
kern: enable lto for global instants (saves about a page in deduplicated code)
This commit is contained in:
parent
5217e6b9f3
commit
3852d02696
@ -108,7 +108,8 @@ namespace ams::kern {
|
|||||||
|
|
||||||
struct DummyKAutoObjectWithListComparator {
|
struct DummyKAutoObjectWithListComparator {
|
||||||
static NOINLINE int Compare(KAutoObjectWithList &lhs, KAutoObjectWithList &rhs) {
|
static NOINLINE int Compare(KAutoObjectWithList &lhs, KAutoObjectWithList &rhs) {
|
||||||
AMS_ASSUME(false);
|
MESOSPHERE_UNUSED(lhs, rhs);
|
||||||
|
MESOSPHERE_PANIC("DummyKAutoObjectWithListComparator invoked");
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user