summaryrefslogtreecommitdiff
path: root/src/vm/jithelpers.cpp
diff options
context:
space:
mode:
authorJonghyun Park <parjong@gmail.com>2017-02-28 19:36:55 +0900
committerJan Vorlicek <janvorli@microsoft.com>2017-02-28 11:36:55 +0100
commit5118a077796a0aeab826ee5702b254026e97f458 (patch)
treef943806fadbc07afcb903262b79496c4cd714fa3 /src/vm/jithelpers.cpp
parente9ad7cf9690fdca6f4f3f1b6bafdebe9406db9b7 (diff)
downloadcoreclr-5118a077796a0aeab826ee5702b254026e97f458.tar.gz
coreclr-5118a077796a0aeab826ee5702b254026e97f458.tar.bz2
coreclr-5118a077796a0aeab826ee5702b254026e97f458.zip
Use BIT64 instead of _WIN64 for LONG helpers (#9845)
Diffstat (limited to 'src/vm/jithelpers.cpp')
-rw-r--r--src/vm/jithelpers.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/vm/jithelpers.cpp b/src/vm/jithelpers.cpp
index 1f73a40cda..b46ac98ba5 100644
--- a/src/vm/jithelpers.cpp
+++ b/src/vm/jithelpers.cpp
@@ -454,7 +454,7 @@ HCIMPL2_VV(UINT64, JIT_ULMod, UINT64 dividend, UINT64 divisor)
}
HCIMPLEND
-#if !defined(_WIN64) && !defined(_TARGET_X86_)
+#if !defined(BIT64) && !defined(_TARGET_X86_)
/*********************************************************************/
HCIMPL2_VV(UINT64, JIT_LLsh, UINT64 num, int shift)
{
@@ -478,8 +478,7 @@ HCIMPL2_VV(UINT64, JIT_LRsz, UINT64 num, int shift)
return num >> shift;
}
HCIMPLEND
-
-#endif
+#endif // !BIT64 && !_TARGET_X86_
#include <optdefault.h>