@@ -126,6 +126,7 @@ typedef int (ZEND_FASTCALL *incdec_t)(zval *);
126
126
#define get_zval_ptr_ptr (op_type , node , type ) _get_zval_ptr_ptr(op_type, node, type EXECUTE_DATA_CC)
127
127
#define get_zval_ptr_ptr_undef (op_type , node , type ) _get_zval_ptr_ptr(op_type, node, type EXECUTE_DATA_CC)
128
128
#define get_obj_zval_ptr (op_type , node , type ) _get_obj_zval_ptr(op_type, node, type EXECUTE_DATA_CC OPLINE_CC)
129
+ #define get_obj_zval_ptr_deref (op_type , node , type ) _get_obj_zval_ptr_deref(op_type, node, type EXECUTE_DATA_CC OPLINE_CC)
129
130
#define get_obj_zval_ptr_undef (op_type , node , type ) _get_obj_zval_ptr_undef(op_type, node, type EXECUTE_DATA_CC OPLINE_CC)
130
131
#define get_obj_zval_ptr_ptr (op_type , node , type ) _get_obj_zval_ptr_ptr(op_type, node, type EXECUTE_DATA_CC)
131
132
@@ -537,6 +538,14 @@ static inline ZEND_ATTRIBUTE_UNUSED zval *_get_obj_zval_ptr(int op_type, znode_o
537
538
return get_zval_ptr (op_type , op , type );
538
539
}
539
540
541
+ static inline ZEND_ATTRIBUTE_UNUSED zval * _get_obj_zval_ptr_deref (int op_type , znode_op op , int type EXECUTE_DATA_DC OPLINE_DC )
542
+ {
543
+ if (op_type == IS_UNUSED ) {
544
+ return & EX (This );
545
+ }
546
+ return get_zval_ptr_deref (op_type , op , type );
547
+ }
548
+
540
549
static inline ZEND_ATTRIBUTE_UNUSED zval * _get_obj_zval_ptr_undef (int op_type , znode_op op , int type EXECUTE_DATA_DC OPLINE_DC )
541
550
{
542
551
if (op_type == IS_UNUSED ) {
0 commit comments