Fix build failure in internal builds
authorRoman Artemev <rartemev@microsoft.com>
Thu, 29 Jun 2017 23:41:44 +0000 (16:41 -0700)
committerRoman Artemev <rartemev@microsoft.com>
Thu, 29 Jun 2017 23:41:44 +0000 (16:41 -0700)
src/jit/lsra.cpp

index 4331d63..bc3cded 100644 (file)
@@ -144,7 +144,7 @@ void lsraAssignRegToTree(GenTreePtr tree, regNumber reg, unsigned regIdx)
     {
         assert(regIdx == 1);
         GenTreeCopyOrReload* copy = tree->AsCopyOrReload();
-        copy->gtOtherRegs[0]      = reg;
+        copy->gtOtherRegs[0]      = (regNumberSmall)reg;
     }
     else if (tree->OperGet() == GT_PUTARG_SPLIT)
     {