Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 2900d76

Browse files
tannergoodingjkotas
authored andcommitted
Updated CreateMethodDesc to pass along the IsJitIntrinsic flag for generic methods. (#15653)
1 parent ccf53b9 commit 2900d76

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/vm/genmeth.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,10 @@ static MethodDesc* CreateMethodDesc(LoaderAllocator *pAllocator,
120120
{
121121
pMD->SetSynchronized();
122122
}
123+
if (pTemplateMD->IsJitIntrinsic())
124+
{
125+
pMD->SetIsJitIntrinsic();
126+
}
123127

124128
pMD->SetMemberDef(token);
125129
pMD->SetSlot(pTemplateMD->GetSlot());

0 commit comments

Comments
 (0)