kern: enable lto for global instants (saves about a page in deduplicated code)

This commit is contained in:
Michael Scire 2021-10-24 17:06:43 -07:00
parent 8a661cee6e
commit fd187f952e
2 changed files with 3 additions and 1 deletions

View file

@ -108,7 +108,8 @@ namespace ams::kern {
struct DummyKAutoObjectWithListComparator {
static NOINLINE int Compare(KAutoObjectWithList &lhs, KAutoObjectWithList &rhs) {
AMS_ASSUME(false);
MESOSPHERE_UNUSED(lhs, rhs);
MESOSPHERE_PANIC("DummyKAutoObjectWithListComparator invoked");
}
};