Fix jit warning in crossgen desktop build.
authorEugene Rozenfeld <erozen@microsoft.com>
Thu, 20 Dec 2018 23:58:29 +0000 (15:58 -0800)
committerEugene Rozenfeld <erozen@microsoft.com>
Fri, 21 Dec 2018 00:50:43 +0000 (16:50 -0800)
src/jit/gentree.cpp

index 002ac8e..47d2659 100644 (file)
@@ -6705,7 +6705,7 @@ GenTreeAllocObj* Compiler::gtNewAllocObjNode(CORINFO_RESOLVED_TOKEN* pResolvedTo
     GenTree*        opHandle = impTokenToHandle(pResolvedToken, pRuntimeLookup, mustRestoreHandle, useParent);
 
 #ifdef FEATURE_READYTORUN_COMPILER
-    CORINFO_CONST_LOOKUP lookup;
+    CORINFO_CONST_LOOKUP lookup = {};
 
     if (opts.IsReadyToRun())
     {