File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -811,6 +811,13 @@ static zend_property_info *zend_persist_property_info(zend_property_info *prop)
811
811
for (uint32_t i = 0 ; i < ZEND_PROPERTY_HOOK_COUNT ; i ++ ) {
812
812
if (prop -> hooks [i ]) {
813
813
zend_op_array * hook = zend_persist_class_method (& prop -> hooks [i ]-> op_array , ce );
814
+ #ifdef HAVE_JIT
815
+ if (JIT_G (on ) && JIT_G (opt_level ) <= ZEND_JIT_LEVEL_OPT_FUNCS ) {
816
+ if (hook -> scope == ce && !(hook -> fn_flags & ZEND_ACC_TRAIT_CLONE )) {
817
+ zend_jit_op_array (hook , ZCG (current_persistent_script ) ? & ZCG (current_persistent_script )-> script : NULL );
818
+ }
819
+ }
820
+ #endif
814
821
zend_property_info * new_prop_info = (zend_property_info * ) zend_shared_alloc_get_xlat_entry (hook -> prop_info );
815
822
if (new_prop_info ) {
816
823
hook -> prop_info = new_prop_info ;
You can’t perform that action at this time.
0 commit comments