projects
/
platform
/
upstream
/
dotnet
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf9df29
)
[x86/Linux] Remove unnecessary x86-specific part (dotnet/coreclr#9627)
author
Hanjoung Lee
<waterets@gmail.com>
Fri, 17 Feb 2017 11:39:26 +0000
(20:39 +0900)
committer
Jan Kotas
<jkotas@microsoft.com>
Fri, 17 Feb 2017 11:39:25 +0000
(
04:39
-0700)
This inlined assembly is no longer necessary for x86.
Commit migrated from https://github.com/dotnet/coreclr/commit/
6570085031f7a03bd42cca3ffd82b00122d5e2a3
src/coreclr/src/gc/gc.cpp
patch
|
blob
|
history
diff --git
a/src/coreclr/src/gc/gc.cpp
b/src/coreclr/src/gc/gc.cpp
index
66c8b6a
..
9f098fe
100644
(file)
--- 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