com php-src: Try to fix Windows build: Zend/zend_execute.c Zend/zend_vm_def.h Zend/zend_vm_execute.h
| From: | Nikita Popov | Date: | Thu, 06 Jun 2019 12:56:42 +0000 |
| Subject: | com php-src: Try to fix Windows build: Zend/zend_execute.c Zend/zend_vm_def.h Zend/zend_vm_execute.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-106592@lists.php.net to get a copy of this message | ||
Commit: 7780ba9660248f7caf492c2dc8b4febb08bbb966
Author: Nikita Popov <nikita.ppv@gmail.com> Thu, 6 Jun 2019 14:56:42 +0200
Parents: 741468d145dced618456ad4c4877571083eac3b2
Branches: PHP-7.4 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=7780ba9660248f7caf492c2dc8b4febb08bbb966
Log:
Try to fix Windows build
Changed paths:
M Zend/zend_execute.c
M Zend/zend_vm_def.h
M Zend/zend_vm_execute.h
Diff:
diff --git a/Zend/zend_execute.c b/Zend/zend_execute.c
index 5a5b8e0..d666d6a 100644
--- a/Zend/zend_execute.c
+++ b/Zend/zend_execute.c
@@ -585,7 +585,7 @@ static inline void zend_assign_to_variable_reference(zval *variable_ptr, zval *v
ZVAL_REF(variable_ptr, ref);
}
-static zend_never_inline zval* zend_assign_to_typed_property_reference(zend_property_info
*prop_info, zval *prop, zval *value_ptr)
+static zend_never_inline zval* zend_assign_to_typed_property_reference(zend_property_info
*prop_info, zval *prop, zval *value_ptr EXECUTE_DATA_DC)
{
if (!zend_verify_prop_assignable_by_ref(prop_info, value_ptr, EX_USES_STRICT_TYPES())) {
return &EG(uninitialized_zval);
@@ -2830,7 +2830,7 @@ static zend_always_inline void zend_assign_to_property_reference(zval
*container
}
if (UNEXPECTED(prop_info)) {
- variable_ptr = zend_assign_to_typed_property_reference(prop_info, variable_ptr, value_ptr);
+ variable_ptr = zend_assign_to_typed_property_reference(prop_info, variable_ptr, value_ptr
EXECUTE_DATA_CC);
} else {
zend_assign_to_variable_reference(variable_ptr, value_ptr);
}
diff --git a/Zend/zend_vm_def..h b/Zend/zend_vm_def.h
index 6f58244..7f0e97a 100644
--- a/Zend/zend_vm_def.h
+++ b/Zend/zend_vm_def.h
@@ -2664,7 +2664,7 @@ ZEND_VM_HANDLER(202, ZEND_ASSIGN_STATIC_PROP_REF, ANY, ANY, CACHE_SLOT|SRC)
prop = &EG(uninitialized_zval);
}
} else if (UNEXPECTED(prop_info->type)) {
- prop = zend_assign_to_typed_property_reference(prop_info, prop, value_ptr);
+ prop = zend_assign_to_typed_property_reference(prop_info, prop, value_ptr EXECUTE_DATA_CC);
} else {
zend_assign_to_variable_reference(prop, value_ptr);
}
diff --git a/Zend/zend_vm_execute.h b/Zend/zend_vm_execute.h
index 80c3544..bc396c6 100644
--- a/Zend/zend_vm_execute.h
+++ b/Zend/zend_vm_execute.h
@@ -825,7 +825,7 @@ static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL ZEND_ASSIGN_STATIC_PROP_REF_SPEC_HA
prop = &EG(uninitialized_zval);
}
} else if (UNEXPECTED(prop_info->type)) {
- prop = zend_assign_to_typed_property_reference(prop_info, prop, value_ptr);
+ prop = zend_assign_to_typed_property_reference(prop_info, prop, value_ptr EXECUTE_DATA_CC);
} else {
zend_assign_to_variable_reference(prop, value_ptr);
}