kern: fix bugs caused by UB + transition to -Os

This commit is contained in:
Michael Scire authored and SciresM committed 2020-12-02 06:43:37 -08:00
1 parent 1b164613a6
commit 3c8e7de915
4 files changed
+49 -45

No files matched your search

@@ -63,7 +63,7 @@ namespace ams::kern {
}
[[fallthrough]];
case ThreadType_HighPriority:
{
if (type != ThreadType_Main) {
MESOSPHERE_ASSERT(phys_core == GetCurrentCoreId());
}
[[fallthrough]];