kern: codegen tweaks, now that we're no longer -Os

This commit is contained in:
Michael Scire 2022-03-22 23:58:39 -07:00 committed by SciresM
parent 1ca2f61527
commit 383fc2cc99
10 changed files with 77 additions and 70 deletions

View file

@ -190,13 +190,13 @@ namespace ams::kern {
}
}
NOINLINE bool Open() {
MESOSPHERE_ALWAYS_INLINE_IF_RELEASE bool Open() {
MESOSPHERE_ASSERT_THIS();
return m_ref_count.Open();
}
NOINLINE void Close() {
MESOSPHERE_ALWAYS_INLINE_IF_RELEASE void Close() {
MESOSPHERE_ASSERT_THIS();
if (m_ref_count.Close()) {