From 89bdf8d909361c3958e3967fa686cbdd2a1b2ea7 Mon Sep 17 00:00:00 2001 From: Pat Gavlin Date: Fri, 29 Jul 2016 11:58:10 -0700 Subject: [PATCH] Fix a build break. [tfs-changeset: 1619855] Commit migrated from https://github.com/dotnet/coreclr/commit/ca240d9368dca4fb19f34cc754bca8a642addcd7 --- src/coreclr/src/jit/importer.cpp | 2 ++ 1 file changed, 2 insertions(+) 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' -- 2.7.4