Skip to content

Commit 6aa4b1b

Browse files
kgjkotas
andauthored
Update src/coreclr/interpreter/intrinsics.cpp
Co-authored-by: Jan Kotas <[email protected]>
1 parent 9505080 commit 6aa4b1b

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/coreclr/interpreter/intrinsics.cpp

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -67,14 +67,7 @@ NamedIntrinsic GetNamedIntrinsic(COMP_HANDLE compHnd, CORINFO_METHOD_HANDLE comp
6767
{
6868
if (!strcmp(namespaceName, "System.Runtime.CompilerServices"))
6969
{
70-
if (!strcmp(className, "Unsafe"))
71-
{
72-
// The members of the S.R.CS.Unsafe namespace have IL generated for them elsewhere in the runtime;
73-
// we want to use that generated IL. It should Just Work once we support unsafe accessors.
74-
// If the JIT is available our fallback to calling the JITted code will also work.
75-
return NI_Illegal;
76-
}
77-
else if (!strcmp(className, "StaticsHelpers"))
70+
if (!strcmp(className, "StaticsHelpers"))
7871
{
7972
if (!strcmp(methodName, "VolatileReadAsByref"))
8073
return NI_System_Runtime_CompilerServices_StaticsHelpers_VolatileReadAsByref;

0 commit comments

Comments
 (0)