From 37b728c601a0f2069bc5471bcb71322433e99672 Mon Sep 17 00:00:00 2001 From: Jan Kotas Date: Thu, 9 Jun 2016 01:25:16 -0700 Subject: [PATCH] Fix build break in JIT CTP build [tfs-changeset: 1611655] --- src/jit/importer.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/jit/importer.cpp b/src/jit/importer.cpp index 4ca2525..73525ea 100644 --- a/src/jit/importer.cpp +++ b/src/jit/importer.cpp @@ -2786,10 +2786,12 @@ GenTreePtr Compiler::impInitializeArrayIntrinsic(CORINFO_SIG_INFO * sig) #endif ) { +#if COR_JIT_EE_VERSION > 460 if (newArrayCall->gtCall.gtCallMethHnd != eeFindHelper(CORINFO_HELP_NEW_MDARR_NONVARARG)) return nullptr; isMDArray = true; +#endif } CORINFO_CLASS_HANDLE arrayClsHnd = (CORINFO_CLASS_HANDLE) newArrayCall->gtCall.compileTimeHelperArgumentHandle; @@ -2801,7 +2803,7 @@ GenTreePtr Compiler::impInitializeArrayIntrinsic(CORINFO_SIG_INFO * sig) if (!arrayClsHnd) return nullptr; - unsigned rank; + unsigned rank = 0; S_UINT32 numElements; if (isMDArray) @@ -2894,7 +2896,7 @@ GenTreePtr Compiler::impInitializeArrayIntrinsic(CORINFO_SIG_INFO * sig) } }; - int argIndex = 0; + unsigned argIndex = 0; GenTree* comma; for (comma = argsArg->Current(); Match::IsComma(comma); comma = comma->gtGetOp2()) -- 2.7.4