kern: fix constant evaluation correctness, codegen tweak

This commit is contained in:
Michael Scire committed 2021-04-20 14:25:06 -07:00
1 parent 8010290472
commit 0a11d341b7
2 files changed
+35 -5

No files matched your search

@@ -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. */