fix the desktop build break (dotnet/coreclr#18475)
authorSergey Andreenko <seandree@microsoft.com>
Fri, 15 Jun 2018 00:44:55 +0000 (17:44 -0700)
committerGitHub <noreply@github.com>
Fri, 15 Jun 2018 00:44:55 +0000 (17:44 -0700)
* fix desktop build break

after dotnet/coreclr#18346

* add dstCount

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

src/coreclr/src/jit/lsraarm64.cpp

index 7117c1f..547d5f9 100644 (file)
@@ -483,7 +483,8 @@ int LinearScan::BuildNode(GenTree* tree)
 
 #if FEATURE_ARG_SPLIT
         case GT_PUTARG_SPLIT:
-            BuildPutArgSplit(tree->AsPutArgSplit());
+            srcCount = BuildPutArgSplit(tree->AsPutArgSplit());
+            dstCount = tree->AsPutArgSplit()->gtNumRegs;
             break;
 #endif // FEATURE _SPLIT_ARG