Remove dead code from JIT's earlyprop.cpp
authorMike Danes <onemihaid@hotmail.com>
Sun, 3 Jan 2016 15:40:23 +0000 (17:40 +0200)
committerMike Danes <onemihaid@hotmail.com>
Sun, 3 Jan 2016 15:40:23 +0000 (17:40 +0200)
src/jit/earlyprop.cpp

index 54404d2..fa27363 100644 (file)
@@ -79,8 +79,6 @@ GenTreePtr Compiler::getArrayLengthFromAllocation(GenTreePtr tree)
 
         if (call->gtCallType == CT_HELPER)
         {
-            CorInfoHelpFunc helpFunc = eeGetHelperNum(call->gtCallMethHnd);
-
             if (call->gtCallMethHnd == eeFindHelper(CORINFO_HELP_NEWARR_1_DIRECT) ||
                 call->gtCallMethHnd == eeFindHelper(CORINFO_HELP_NEWARR_1_OBJ) ||
                 call->gtCallMethHnd == eeFindHelper(CORINFO_HELP_NEWARR_1_VC) ||
@@ -115,8 +113,6 @@ GenTreePtr Compiler::getObjectHandleNodeFromAllocation(GenTreePtr tree)
 
         if (call->gtCallType == CT_HELPER)
         {
-            CorInfoHelpFunc helpFunc = eeGetHelperNum(call->gtCallMethHnd);
-
             if (call->gtCallMethHnd == eeFindHelper(CORINFO_HELP_NEWFAST) ||
                 call->gtCallMethHnd == eeFindHelper(CORINFO_HELP_NEWSFAST) ||
                 call->gtCallMethHnd == eeFindHelper(CORINFO_HELP_NEWSFAST_ALIGN8) ||