Fix dstCount of GT_RETURNTRAP
authorCarol Eidt <carol.eidt@microsoft.com>
Fri, 19 Aug 2016 20:51:05 +0000 (13:51 -0700)
committerCarol Eidt <carol.eidt@microsoft.com>
Fri, 19 Aug 2016 20:51:05 +0000 (13:51 -0700)
Commit migrated from https://github.com/dotnet/coreclr/commit/9748eeaca851a051e2f6ee6d56f5578ff8e49080

src/coreclr/src/jit/lowerarm64.cpp

index 97b2456..2384508 100644 (file)
@@ -342,7 +342,7 @@ void Lowering::TreeNodeInfoInit(GenTree* tree)
             // this just turns into a compare of its child with an int
             // + a conditional call
             info->srcCount = 1;
-            info->dstCount = 1;
+            info->dstCount = 0;
             break;
 
         case GT_MOD: