summaryrefslogtreecommitdiff
path: root/src/vm/amd64/unixstubs.cpp
diff options
context:
space:
mode:
authorJan Vorlicek <janvorli@microsoft.com>2015-01-31 01:26:55 -0800
committerJan Vorlicek <janvorli@microsoft.com>2015-01-31 01:26:55 -0800
commitcb3773542726fda1267e81596bd37654f418cff4 (patch)
treeaf85ca55bcbe3e07ae8426f8be6e3d3262bf045e /src/vm/amd64/unixstubs.cpp
parente80a41aa9833244b0b3243a45702f3f389dfbff3 (diff)
downloadcoreclr-cb3773542726fda1267e81596bd37654f418cff4.tar.gz
coreclr-cb3773542726fda1267e81596bd37654f418cff4.tar.bz2
coreclr-cb3773542726fda1267e81596bd37654f418cff4.zip
Replaced compiler option to disabled all warnings in Linux build by options for explicit disabling of specific warnings.
Fixed warnings that were not possible to disable (those that have no identifier) and few other trivial ones. We will need to revisit the warnings fix as many as we reasonably can. [tfs-changeset: 1408205]
Diffstat (limited to 'src/vm/amd64/unixstubs.cpp')
-rw-r--r--src/vm/amd64/unixstubs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vm/amd64/unixstubs.cpp b/src/vm/amd64/unixstubs.cpp
index 2615bdb715..d7a86bb826 100644
--- a/src/vm/amd64/unixstubs.cpp
+++ b/src/vm/amd64/unixstubs.cpp
@@ -100,7 +100,7 @@ extern "C"
" mov %%ebx, 4(%[result])\n" \
" mov %%ecx, 8(%[result])\n" \
" mov %%edx, 12(%[result])\n" \
- : "=a"(eax) /*output in eax*/\
+ : "=a"(eax) /*output in eax*/\
: "a"(arg), [result]"r"(result) /*inputs - arg in eax, result in any register*/\
: "eax", "rbx", "ecx", "edx" /* registers that are clobbered*/
);
@@ -115,7 +115,7 @@ extern "C"
" mov %%ebx, 4(%[result])\n" \
" mov %%ecx, 8(%[result])\n" \
" mov %%edx, 12(%[result])\n" \
- : "=a"(eax) /*output in eax*/\
+ : "=a"(eax) /*output in eax*/\
: "c"(arg1), "a"(arg2), [result]"r"(result) /*inputs - arg1 in ecx, arg2 in eax, result in any register*/\
: "eax", "rbx", "ecx", "edx" /* registers that are clobbered*/
);