From: Dmitry Stogov Date: Mon, 5 Feb 2018 17:40:21 +0000 (+0300) Subject: One cache slot is enough X-Git-Tag: php-7.3.0alpha1~468^2~30 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e0a399f175b445e324a236185f09cd819e1da765;p=php One cache slot is enough --- diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index 9127c110bd..35a7446489 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -2811,7 +2811,7 @@ zend_op *zend_compile_static_prop(znode *result, zend_ast *ast, uint32_t type, i opline->op2.constant = zend_add_class_name_literal( CG(active_op_array), Z_STR(class_node.u.constant)); if (opline->op1_type != IS_CONST) { - opline->extended_value = zend_alloc_polymorphic_cache_slot(); + opline->extended_value = zend_alloc_cache_slot(); } } else { SET_NODE(opline->op2, &class_node);