GT_START_NONGC has no kill set
authorCarol Eidt <carol.eidt@microsoft.com>
Thu, 7 Jun 2018 20:58:22 +0000 (13:58 -0700)
committerCarol Eidt <carol.eidt@microsoft.com>
Thu, 7 Jun 2018 21:01:19 +0000 (14:01 -0700)
It was mistakenly added to the `GT_PROF_HOOK` case in the recent LSRA changes.

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

src/coreclr/src/jit/lsraxarch.cpp

index cfc2974..aa4640b 100644 (file)
@@ -148,11 +148,11 @@ int LinearScan::BuildNode(GenTree* tree)
         case GT_LIST:
         case GT_ARGPLACE:
         case GT_NO_OP:
+        case GT_START_NONGC:
             srcCount = 0;
             assert(dstCount == 0);
             break;
 
-        case GT_START_NONGC:
         case GT_PROF_HOOK:
             srcCount = 0;
             assert(dstCount == 0);