kern: devirtualize most things that are free to devirtualize (see #1672)

This commit is contained in:
Michael Scire committed 2021-10-24 13:04:31 -07:00
1 parent aaa3770806
commit d0cd511c0e
13 files changed
+89 -89

No files matched your search

@@ -620,7 +620,7 @@ namespace ams::kern {
void Finalize();
virtual bool IsSignaled() const override;
virtual void OnTimer() override;
void OnTimer();
virtual void DoWorkerTask() override;
public:
static constexpr bool IsConditionVariableThreadTreeValid() {
@@ -674,4 +674,8 @@ namespace ams::kern {
GetCurrentThread().SetClosedObject(this);
}
ALWAYS_INLINE void KTimerTask::OnTimer() {
static_cast<KThread *>(this)->OnTimer();
}
}