Skip to content

Commit

Permalink
[netcore] Mark InitializeCurrentThread NoInlining
Browse files Browse the repository at this point in the history
Follow-up for mono#18480

We might want to replace calls to this with an intrinsic
  • Loading branch information
lambdageek committed Jan 17, 2020
1 parent c1498b8 commit f19e948
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -296,6 +296,7 @@ ThreadState ValidateThreadState ()
[MethodImplAttribute(MethodImplOptions.InternalCall)]
private extern static void InitializeCurrentThread_icall (ref Thread thread);

[MethodImpl (MethodImplOptions.NoInlining)]
static Thread InitializeCurrentThread () {
Thread thread = null;
InitializeCurrentThread_icall (ref thread);
Expand Down

0 comments on commit f19e948

Please sign in to comment.