Remove a redundant recursive call to `gtSetEvalOrder`.
authorPat Gavlin <pagavlin@microsoft.com>
Thu, 26 May 2016 23:03:34 +0000 (16:03 -0700)
committerPat Gavlin <pagavlin@microsoft.com>
Thu, 26 May 2016 23:03:34 +0000 (16:03 -0700)
src/jit/gentree.cpp

index 7a5e551..73aaffd 100644 (file)
@@ -3333,8 +3333,6 @@ COMMON_CNS:
 
             case GT_MKREFANY:
             case GT_OBJ:
-                level  = gtSetEvalOrder(tree->gtOp.gtOp1);
-                ftreg |= tree->gtOp.gtOp1->gtRsvdRegs;
                 // We estimate the cost of a GT_OBJ or GT_MKREFANY to be two loads (GT_INDs)
                 costEx = 2*IND_COST_EX;
                 costSz = 2*2;