summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPat Gavlin <pagavlin@microsoft.com>2016-07-29 11:58:10 -0700
committerPat Gavlin <pagavlin@microsoft.com>2016-07-29 11:58:10 -0700
commitca240d9368dca4fb19f34cc754bca8a642addcd7 (patch)
tree32c30c62300fc80876872e123ca1b04e641ccf95 /src
parent8a19f535d4c30243e98de7452394a4e136eefc6a (diff)
downloadcoreclr-ca240d9368dca4fb19f34cc754bca8a642addcd7.tar.gz
coreclr-ca240d9368dca4fb19f34cc754bca8a642addcd7.tar.bz2
coreclr-ca240d9368dca4fb19f34cc754bca8a642addcd7.zip
Fix a build break.
[tfs-changeset: 1619855]
Diffstat (limited to 'src')
-rw-r--r--src/jit/importer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/jit/importer.cpp b/src/jit/importer.cpp
index aa63b8f812..3bbb3c2df8 100644
--- a/src/jit/importer.cpp
+++ b/src/jit/importer.cpp
@@ -11736,12 +11736,14 @@ DO_LDFTN:
// At present this can only be String
else if (clsFlags & CORINFO_FLG_VAROBJSIZE)
{
+#if COR_JIT_EE_VERSION > 460
if (eeGetEEInfo()->targetAbi == CORINFO_CORERT_ABI)
{
// The dummy argument does not exist in CoreRT
newObjThisPtr = nullptr;
}
else
+#endif
{
// This is the case for variable-sized objects that are not
// arrays. In this case, call the constructor with a null 'this'