kern: devirtualize remaining vcall for class token/dyncast
This commit is contained in:
1 parent
36e4914be8
commit
71e4313d0c
10 files changed
+38
-47
No files matched your search
@@ -137,7 +137,7 @@ namespace ams::kern {
|
||||
static KSessionRequest *Create() {
|
||||
KSessionRequest *req = KSessionRequest::Allocate();
|
||||
if (AMS_LIKELY(req != nullptr)) {
|
||||
KAutoObject::Create(req);
|
||||
KAutoObject::Create<KSessionRequest>(req);
|
||||
}
|
||||
return req;
|
||||
}
|
||||
@@ -145,7 +145,7 @@ namespace ams::kern {
|
||||
static KSessionRequest *CreateFromUnusedSlabMemory() {
|
||||
KSessionRequest *req = KSessionRequest::AllocateFromUnusedSlabMemory();
|
||||
if (AMS_LIKELY(req != nullptr)) {
|
||||
KAutoObject::Create(req);
|
||||
KAutoObject::Create<KSessionRequest>(req);
|
||||
}
|
||||
return req;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user