summaryrefslogtreecommitdiff
path: root/src/jit/typeinfo.cpp
diff options
context:
space:
mode:
authorPat Gavlin <pagavlin@microsoft.com>2016-03-31 10:02:12 -0700
committerPat Gavlin <pagavlin@microsoft.com>2016-03-31 11:10:26 -0700
commit1e9cadbd87fffbb4342a5090941b349a4d0a2fd9 (patch)
treeb162bd2ca1cfe6dfed2dae0d61ac9e0745bc52a8 /src/jit/typeinfo.cpp
parent4e2b9b6be2b59a2cbf6663cccd6bc1b6091f6eac (diff)
downloadcoreclr-1e9cadbd87fffbb4342a5090941b349a4d0a2fd9.tar.gz
coreclr-1e9cadbd87fffbb4342a5090941b349a4d0a2fd9.tar.bz2
coreclr-1e9cadbd87fffbb4342a5090941b349a4d0a2fd9.zip
Replace uses of _WIN64 with _HOST_64BIT_.
This terminology is more accurate. This change also corrects a few bits of code that were making target-related decisions based on the host's bitness.
Diffstat (limited to 'src/jit/typeinfo.cpp')
-rw-r--r--src/jit/typeinfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jit/typeinfo.cpp b/src/jit/typeinfo.cpp
index 13f23e1c14..097ad10cdf 100644
--- a/src/jit/typeinfo.cpp
+++ b/src/jit/typeinfo.cpp
@@ -217,7 +217,7 @@ BOOL typeInfo::tiCompatibleWith (COMP_HANDLE CompHnd,
return tiCompatibleWithByRef(CompHnd, child, parent);
}
#ifdef _TARGET_64BIT_
- // In WIN64 we have precise representation for native int, so these rules
+ // On 64-bit targets we have precise representation for native int, so these rules
// represent the fact that the ECMA spec permits the implicit conversion
// between an int32 and a native int.
else if (parent.IsType(TI_INT) && typeInfo::AreEquivalent(nativeInt(), child))
@@ -348,7 +348,7 @@ BOOL typeInfo::tiMergeToCommonParent (COMP_HANDLE CompHnd, typeInfo
return tiCompatibleWithByRef(CompHnd, *pSrc, *pDest);
}
#ifdef _TARGET_64BIT_
- // In WIN64 we have precise representation for native int, so these rules
+ // On 64-bit targets we have precise representation for native int, so these rules
// represent the fact that the ECMA spec permits the implicit conversion
// between an int32 and a native int.
else if (typeInfo::AreEquivalent(*pDest, typeInfo::nativeInt()) && pSrc->IsType(TI_INT))