summaryrefslogtreecommitdiff
path: root/Zend/zend_compile.c
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2018-01-31 18:15:25 +0300
committerDmitry Stogov <dmitry@zend.com>2018-01-31 18:15:25 +0300
commit9c7fb529ce724afcdfcd10705cdb0515b33bf84b (patch)
tree91112660b26d2d70912f35b6b8139e13b1a77232 /Zend/zend_compile.c
parentf67f455ef70c2cffcf8c14c0172ba57126221eff (diff)
downloadphp-git-9c7fb529ce724afcdfcd10705cdb0515b33bf84b.tar.gz
Changed FETCH_CONSTANT instruction format (extended_value moved into op1)
Diffstat (limited to 'Zend/zend_compile.c')
-rw-r--r--Zend/zend_compile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c
index fe2874e511..e8a16c4ef0 100644
--- a/Zend/zend_compile.c
+++ b/Zend/zend_compile.c
@@ -7724,9 +7724,9 @@ void zend_compile_const(znode *result, zend_ast *ast) /* {{{ */
opline->op2.constant = zend_add_const_name_literal(
CG(active_op_array), resolved_name, 0);
} else {
- opline->extended_value = IS_CONSTANT_UNQUALIFIED;
+ opline->op1.num = IS_CONSTANT_UNQUALIFIED;
if (FC(current_namespace)) {
- opline->extended_value |= IS_CONSTANT_IN_NAMESPACE;
+ opline->op1.num |= IS_CONSTANT_IN_NAMESPACE;
opline->op2.constant = zend_add_const_name_literal(
CG(active_op_array), resolved_name, 1);
} else {