Fix a build break.
authorPat Gavlin <pagavlin@microsoft.com>
Fri, 29 Jul 2016 18:58:10 +0000 (11:58 -0700)
committerPat Gavlin <pagavlin@microsoft.com>
Fri, 29 Jul 2016 18:58:10 +0000 (11:58 -0700)
[tfs-changeset: 1619855]

Commit migrated from https://github.com/dotnet/coreclr/commit/ca240d9368dca4fb19f34cc754bca8a642addcd7

src/coreclr/src/jit/importer.cpp

index aa63b8f..3bbb3c2 100644 (file)
@@ -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'