Skip to content

Commit

Permalink
Replace NOP call with direct asm declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
josesimoes committed May 13, 2021
1 parent 1a69a66 commit d7cd9c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CLR/CorLib/corlib_native_System_Threading_Thread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ HRESULT Library_corlib_native_System_Threading_Thread::SpinWait___STATIC__VOID__
// basically do nothing, except loop until reaching 0
for (; iterations == 0; iterations--)
{
__ASM("nop");
__asm("nop");
}

NANOCLR_NOCLEANUP_NOLABEL();
Expand Down

0 comments on commit d7cd9c9

Please sign in to comment.