diff options
author | Pat Gavlin <pagavlin@microsoft.com> | 2015-02-04 16:59:45 -0800 |
---|---|---|
committer | Pat Gavlin <pagavlin@microsoft.com> | 2015-02-05 07:34:56 -0800 |
commit | 2e63a8004caf9ab9d85a7dee9867c8bd84eb7882 (patch) | |
tree | 4efd7d4e5584f2cad38b0cc87bb7fc8208b0087f /src/vm/amd64/jithelpers_fast.S | |
parent | 02084af832c2900cf6eac2a168c41f261409be97 (diff) | |
download | coreclr-2e63a8004caf9ab9d85a7dee9867c8bd84eb7882.tar.gz coreclr-2e63a8004caf9ab9d85a7dee9867c8bd84eb7882.tar.bz2 coreclr-2e63a8004caf9ab9d85a7dee9867c8bd84eb7882.zip |
Build fixes for clang3.7 and systems without stropt.h.
- Fix setup-compiler-clang to detect binaries outside of /usr/bin
- Fix ambiguously-sized cmp instructions when comparing g_GCShadow and 0
- Remove references to stropt.h. None of the defiinitions in this header
are used by the product, and this header is not present on certain
systems.
Diffstat (limited to 'src/vm/amd64/jithelpers_fast.S')
-rw-r--r-- | src/vm/amd64/jithelpers_fast.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vm/amd64/jithelpers_fast.S b/src/vm/amd64/jithelpers_fast.S index 457d96e62e..cdaa48e1a8 100644 --- a/src/vm/amd64/jithelpers_fast.S +++ b/src/vm/amd64/jithelpers_fast.S @@ -150,7 +150,7 @@ LEAF_ENTRY JIT_ByRefWriteBarrier, _TEXT // **ALSO update the shadow GC heap if that is enabled** // Do not perform the work if g_GCShadow is 0 PREPARE_EXTERNAL_VAR g_GCShadow, rax - cmp [rax], 0 + cmp qword ptr [rax], 0 je NoShadow_ByRefWriteBarrier // If we end up outside of the heap don't corrupt random memory |