From: Hanjoung Lee Date: Fri, 17 Feb 2017 11:39:26 +0000 (+0900) Subject: [x86/Linux] Remove unnecessary x86-specific part (dotnet/coreclr#9627) X-Git-Tag: submit/tizen/20210909.063632~11030^2~8039 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ec3dc198bb147fe569f5d390ab9734359563c9f4;p=platform%2Fupstream%2Fdotnet%2Fruntime.git [x86/Linux] Remove unnecessary x86-specific part (dotnet/coreclr#9627) This inlined assembly is no longer necessary for x86. Commit migrated from https://github.com/dotnet/coreclr/commit/6570085031f7a03bd42cca3ffd82b00122d5e2a3 --- diff --git a/src/coreclr/src/gc/gc.cpp b/src/coreclr/src/gc/gc.cpp index 66c8b6a..9f098fe 100644 --- a/src/coreclr/src/gc/gc.cpp +++ b/src/coreclr/src/gc/gc.cpp @@ -32173,16 +32173,7 @@ static void spin_lock () inline void EnterAllocLock() { -#if defined(_TARGET_X86_) - __asm { - inc dword ptr m_GCLock - jz gotit - call spin_lock - gotit: - } -#else //_TARGET_X86_ spin_lock(); -#endif //_TARGET_X86_ } inline