diff options
author | Dmitry Stogov <dmitry@zend.com> | 2018-08-21 09:01:54 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2018-08-21 09:01:54 +0300 |
commit | 5e5311e0ba3dc3ff431fd5af1c2705ec8334c7c6 (patch) | |
tree | d0d48492f1c651daa5a938768bcf9f8d8f038cfa | |
parent | 16a9dd74f4cd5e79eeffe2e567bfcec4d1369916 (diff) | |
download | php-git-5e5311e0ba3dc3ff431fd5af1c2705ec8334c7c6.tar.gz |
Removed dead code
-rw-r--r-- | Zend/zend_vm_def.h | 4 | ||||
-rw-r--r-- | Zend/zend_vm_execute.h | 2 |
2 files changed, 1 insertions, 5 deletions
diff --git a/Zend/zend_vm_def.h b/Zend/zend_vm_def.h index 82372fdb91..9711665ec9 100644 --- a/Zend/zend_vm_def.h +++ b/Zend/zend_vm_def.h @@ -7857,9 +7857,8 @@ ZEND_VM_HANDLER(182, ZEND_BIND_LEXICAL, TMP, CV, REF) ZEND_VM_HANDLER(183, ZEND_BIND_STATIC, CV, CONST, REF) { USE_OPLINE - zend_free_op free_op1, free_op2; + zend_free_op free_op1; HashTable *ht; - zval *varname; zval *value; zval *variable_ptr; @@ -7875,7 +7874,6 @@ ZEND_VM_HANDLER(183, ZEND_BIND_STATIC, CV, CONST, REF) EX(func)->op_array.static_variables = ht = zend_array_dup(ht); } - varname = GET_OP2_ZVAL_PTR(BP_VAR_R); value = (zval*)((char*)ht->arData + (opline->extended_value & ~ZEND_BIND_REF)); if (opline->extended_value & ZEND_BIND_REF) { diff --git a/Zend/zend_vm_execute.h b/Zend/zend_vm_execute.h index 20c0e67263..0b390b8126 100644 --- a/Zend/zend_vm_execute.h +++ b/Zend/zend_vm_execute.h @@ -42009,7 +42009,6 @@ static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL ZEND_BIND_STATIC_SPEC_CV_CONST_HAND USE_OPLINE HashTable *ht; - zval *varname; zval *value; zval *variable_ptr; @@ -42025,7 +42024,6 @@ static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL ZEND_BIND_STATIC_SPEC_CV_CONST_HAND EX(func)->op_array.static_variables = ht = zend_array_dup(ht); } - varname = RT_CONSTANT(opline, opline->op2); value = (zval*)((char*)ht->arData + (opline->extended_value & ~ZEND_BIND_REF)); if (opline->extended_value & ZEND_BIND_REF) { |