Skip to content

Commit 4b8ea6a

Browse files
author
Clint Priest
committed
Merge pull request #1 from pierrejoye/master
Fix build
2 parents ec72ee6 + a345eee commit 4b8ea6a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Zend/zend_compile.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7851,13 +7851,13 @@ zend_accessor_info *zend_get_accessor_info_from_function(zend_function *func TSR
78517851

78527852
zend_accessor_info *zend_get_accessor_from_init_static_method_call(zend_op_array *op_array, zend_op *opline, const char **context_name_out TSRMLS_DC) /* {{{ */
78537853
{
7854+
zval *op1zv=NULL, *op2zv=NULL;
7855+
78547856
/* Unsure if we can rely on .zv to be resolved here already, normally resolved in pass_two on about line 597 */
78557857
if(!opline || !opline->opcode == ZEND_INIT_STATIC_METHOD_CALL) {
78567858
return NULL;
78577859
}
78587860

7859-
zval *op1zv=NULL, *op2zv=NULL;
7860-
78617861
if (opline->op1_type == IS_CONST) {
78627862
if(opline->op2.constant < op_array->last_literal) { /* constant may already be translated to zv by pass_two() */
78637863
op1zv = &op_array->literals[opline->op1.constant].constant;

0 commit comments

Comments
 (0)