Remove superfluous check for the intrinsic attribute
authorTomas <trylek@microsoft.com>
Thu, 23 Jan 2020 18:38:39 +0000 (19:38 +0100)
committerTomas <trylek@microsoft.com>
Thu, 23 Jan 2020 18:38:39 +0000 (19:38 +0100)
src/coreclr/src/tools/Common/JitInterface/CorInfoImpl.cs

index 8fb505f90799b4e94252590787613931dd03b2f5..15c1be24f0ea673be2f3dde8ed31a1f1dcf0f68f 100644 (file)
@@ -712,11 +712,6 @@ namespace Internal.JitInterface
                 }
             }
 
-            if (method.HasCustomAttribute("System.Runtime.CompilerServices", "IntrinsicAttribute"))
-            {
-                result |= CorInfoFlag.CORINFO_FLG_JIT_INTRINSIC;
-            }
-
             result |= CorInfoFlag.CORINFO_FLG_NOSECURITYWRAP;
 
             return (uint)result;