From: Pat Gavlin Date: Fri, 29 Jul 2016 18:58:10 +0000 (-0700) Subject: Fix a build break. X-Git-Tag: submit/tizen/20210909.063632~11030^2~9749^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=89bdf8d909361c3958e3967fa686cbdd2a1b2ea7;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Fix a build break. [tfs-changeset: 1619855] Commit migrated from https://github.com/dotnet/coreclr/commit/ca240d9368dca4fb19f34cc754bca8a642addcd7 --- diff --git a/src/coreclr/src/jit/importer.cpp b/src/coreclr/src/jit/importer.cpp index aa63b8f..3bbb3c2 100644 --- a/src/coreclr/src/jit/importer.cpp +++ b/src/coreclr/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'