mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-29 14:05:17 -04:00
kern: codegen tweaks, now that we're no longer -Os
This commit is contained in:
parent
1ca2f61527
commit
383fc2cc99
10 changed files with 77 additions and 70 deletions
|
@ -45,7 +45,7 @@ namespace ams::kern {
|
|||
return m_owner_thread == GetCurrentThreadPointer();
|
||||
}
|
||||
|
||||
NOINLINE void Lock() {
|
||||
MESOSPHERE_ALWAYS_INLINE_IF_RELEASE void Lock() {
|
||||
MESOSPHERE_ASSERT_THIS();
|
||||
|
||||
if (this->IsLockedByCurrentThread()) {
|
||||
|
@ -67,7 +67,7 @@ namespace ams::kern {
|
|||
}
|
||||
}
|
||||
|
||||
NOINLINE void Unlock() {
|
||||
MESOSPHERE_ALWAYS_INLINE_IF_RELEASE void Unlock() {
|
||||
MESOSPHERE_ASSERT_THIS();
|
||||
MESOSPHERE_ASSERT(this->IsLockedByCurrentThread());
|
||||
MESOSPHERE_ASSERT(m_lock_count > 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue