Updated CreateMethodDesc to pass along the `IsJitIntrinsic` flag for generic methods...
authorTanner Gooding <tagoo@outlook.com>
Thu, 28 Dec 2017 04:23:26 +0000 (20:23 -0800)
committerJan Kotas <jkotas@microsoft.com>
Thu, 28 Dec 2017 04:23:26 +0000 (20:23 -0800)
src/vm/genmeth.cpp

index dd8e328..4c1ba8b 100644 (file)
@@ -120,6 +120,10 @@ static MethodDesc* CreateMethodDesc(LoaderAllocator *pAllocator,
     {
         pMD->SetSynchronized();
     }
+    if (pTemplateMD->IsJitIntrinsic())
+    {
+        pMD->SetIsJitIntrinsic();
+    }
 
     pMD->SetMemberDef(token);
     pMD->SetSlot(pTemplateMD->GetSlot());