From 0fe9ea1c07822b5d4672cece2c180bf9795e16e4 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Fri, 26 Oct 2018 12:29:06 +0300 Subject: [PATCH] Removed dead code --- ext/opcache/Optimizer/optimize_temp_vars_5.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ext/opcache/Optimizer/optimize_temp_vars_5.c b/ext/opcache/Optimizer/optimize_temp_vars_5.c index c2ddeeeda0a..d5f68b1b3d7 100644 --- a/ext/opcache/Optimizer/optimize_temp_vars_5.c +++ b/ext/opcache/Optimizer/optimize_temp_vars_5.c @@ -52,7 +52,6 @@ void zend_optimize_temporary_variables(zend_op_array *op_array, zend_optimizer_c int currT; int i; int max = -1; - int var_to_free = -1; void *checkpoint = zend_arena_checkpoint(ctx->arena); bitset_len = zend_bitset_len(T); @@ -180,11 +179,6 @@ void zend_optimize_temporary_variables(zend_op_array *op_array, zend_optimizer_c } } - if (var_to_free >= 0) { - zend_bitset_excl(taken_T, var_to_free); - var_to_free = -1; - } - opline--; }