kern: fix constant evaluation correctness, codegen tweak

This commit is contained in:
Michael Scire 2021-04-20 14:25:06 -07:00
parent 8010290472
commit 0a11d341b7
2 changed files with 35 additions and 5 deletions

View file

@ -312,7 +312,7 @@ namespace ams::kern {
return true;
}
constexpr ALWAYS_INLINE KAutoObject *GetObjectImpl(ams::svc::Handle handle) const {
constexpr NOINLINE KAutoObject *GetObjectImpl(ams::svc::Handle handle) const {
MESOSPHERE_ASSERT_THIS();
/* Handles must not have reserved bits set. */