Merge pull request #6946 from BruceForstall/Fix3597
authorBruce Forstall <brucefo@microsoft.com>
Mon, 29 Aug 2016 17:39:59 +0000 (10:39 -0700)
committerGitHub <noreply@github.com>
Mon, 29 Aug 2016 17:39:59 +0000 (10:39 -0700)
Change RyuJIT/x86 GC encoder to handle LSRA flexibility

src/jit/gcencode.cpp
tests/issues.targets

index fbd51bb..a9f4a90 100644 (file)
@@ -1777,7 +1777,11 @@ size_t GCInfo::gcMakeRegPtrTable(BYTE* dest, int mask, const InfoHdr& header, un
                      */
 
                     /* Has this argument been enregistered? */
+#ifndef LEGACY_BACKEND
+                    if (!varDsc->lvOnFrame)
+#else  // LEGACY_BACKEND
                     if (varDsc->lvRegister)
+#endif // LEGACY_BACKEND
                     {
                         /* if a CEE_JMP has been used, then we need to report all the arguments
                            even if they are enregistered, since we will be using this value
index ce73216..869dfbd 100644 (file)
     <!-- The following x86 failures only occur with RyuJIT/x86 -->
 
     <ItemGroup Condition="'$(XunitTestBinBase)' != '' and '$(BuildArch)' == 'x86'">
-        <ExcludeList Include="$(XunitTestBinBase)\JIT\Performance\CodeQuality\Serialization\Serialize\Serialize.cmd">
-             <Issue>3597</Issue>
-        </ExcludeList>
         <ExcludeList Include="$(XunitTestBinBase)\JIT\Methodical\MDArray\basics\stringarr_cs_do\stringarr_cs_do.cmd">
              <Issue>4844</Issue>
         </ExcludeList>