Lines Matching refs:var_ptr

2442 	zval *var_ptr = &ref->val;  in zend_jit_pre_inc_typed_ref()  local
2445 ZVAL_COPY(&tmp, var_ptr); in zend_jit_pre_inc_typed_ref()
2447 increment_function(var_ptr); in zend_jit_pre_inc_typed_ref()
2449 if (UNEXPECTED(Z_TYPE_P(var_ptr) == IS_DOUBLE) && Z_TYPE(tmp) == IS_LONG) { in zend_jit_pre_inc_typed_ref()
2453 ZVAL_LONG(var_ptr, ZEND_LONG_MAX); in zend_jit_pre_inc_typed_ref()
2455 …} else if (UNEXPECTED(!zend_verify_ref_assignable_zval(ref, var_ptr, ZEND_CALL_USES_STRICT_TYPES(E… in zend_jit_pre_inc_typed_ref()
2456 zval_ptr_dtor(var_ptr); in zend_jit_pre_inc_typed_ref()
2457 ZVAL_COPY_VALUE(var_ptr, &tmp); in zend_jit_pre_inc_typed_ref()
2462 ZVAL_COPY(ret, var_ptr); in zend_jit_pre_inc_typed_ref()
2468 zval *var_ptr = &ref->val; in zend_jit_pre_dec_typed_ref() local
2471 ZVAL_COPY(&tmp, var_ptr); in zend_jit_pre_dec_typed_ref()
2473 decrement_function(var_ptr); in zend_jit_pre_dec_typed_ref()
2475 if (UNEXPECTED(Z_TYPE_P(var_ptr) == IS_DOUBLE) && Z_TYPE(tmp) == IS_LONG) { in zend_jit_pre_dec_typed_ref()
2479 ZVAL_LONG(var_ptr, ZEND_LONG_MIN); in zend_jit_pre_dec_typed_ref()
2481 …} else if (UNEXPECTED(!zend_verify_ref_assignable_zval(ref, var_ptr, ZEND_CALL_USES_STRICT_TYPES(E… in zend_jit_pre_dec_typed_ref()
2482 zval_ptr_dtor(var_ptr); in zend_jit_pre_dec_typed_ref()
2483 ZVAL_COPY_VALUE(var_ptr, &tmp); in zend_jit_pre_dec_typed_ref()
2488 ZVAL_COPY(ret, var_ptr); in zend_jit_pre_dec_typed_ref()
2494 zval *var_ptr = &ref->val; in zend_jit_post_inc_typed_ref() local
2495 ZVAL_COPY(ret, var_ptr); in zend_jit_post_inc_typed_ref()
2497 increment_function(var_ptr); in zend_jit_post_inc_typed_ref()
2499 if (UNEXPECTED(Z_TYPE_P(var_ptr) == IS_DOUBLE) && Z_TYPE_P(ret) == IS_LONG) { in zend_jit_post_inc_typed_ref()
2503 ZVAL_LONG(var_ptr, ZEND_LONG_MAX); in zend_jit_post_inc_typed_ref()
2505 …} else if (UNEXPECTED(!zend_verify_ref_assignable_zval(ref, var_ptr, ZEND_CALL_USES_STRICT_TYPES(E… in zend_jit_post_inc_typed_ref()
2506 zval_ptr_dtor(var_ptr); in zend_jit_post_inc_typed_ref()
2507 ZVAL_COPY_VALUE(var_ptr, ret); in zend_jit_post_inc_typed_ref()
2513 zval *var_ptr = &ref->val; in zend_jit_post_dec_typed_ref() local
2514 ZVAL_COPY(ret, var_ptr); in zend_jit_post_dec_typed_ref()
2516 decrement_function(var_ptr); in zend_jit_post_dec_typed_ref()
2518 if (UNEXPECTED(Z_TYPE_P(var_ptr) == IS_DOUBLE) && Z_TYPE_P(ret) == IS_LONG) { in zend_jit_post_dec_typed_ref()
2522 ZVAL_LONG(var_ptr, ZEND_LONG_MIN); in zend_jit_post_dec_typed_ref()
2524 …} else if (UNEXPECTED(!zend_verify_ref_assignable_zval(ref, var_ptr, ZEND_CALL_USES_STRICT_TYPES(E… in zend_jit_post_dec_typed_ref()
2525 zval_ptr_dtor(var_ptr); in zend_jit_post_dec_typed_ref()
2526 ZVAL_COPY_VALUE(var_ptr, ret); in zend_jit_post_dec_typed_ref()
2645 static void ZEND_FASTCALL zend_jit_pre_inc(zval *var_ptr, zval *ret) in zend_jit_pre_inc() argument
2647 increment_function(var_ptr); in zend_jit_pre_inc()
2648 ZVAL_COPY(ret, var_ptr); in zend_jit_pre_inc()
2651 static void ZEND_FASTCALL zend_jit_pre_dec(zval *var_ptr, zval *ret) in zend_jit_pre_dec() argument
2653 decrement_function(var_ptr); in zend_jit_pre_dec()
2654 ZVAL_COPY(ret, var_ptr); in zend_jit_pre_dec()
2899 static void ZEND_FASTCALL zend_jit_inc_typed_prop(zval *var_ptr, zend_property_info *prop_info) in zend_jit_inc_typed_prop() argument
2901 ZEND_ASSERT(Z_TYPE_P(var_ptr) != IS_UNDEF); in zend_jit_inc_typed_prop()
2903 if (UNEXPECTED(!verify_readonly_and_avis(var_ptr, prop_info, true))) { in zend_jit_inc_typed_prop()
2910 ZVAL_DEREF(var_ptr); in zend_jit_inc_typed_prop()
2911 ZVAL_COPY(&tmp, var_ptr); in zend_jit_inc_typed_prop()
2913 increment_function(var_ptr); in zend_jit_inc_typed_prop()
2915 if (UNEXPECTED(Z_TYPE_P(var_ptr) == IS_DOUBLE) && Z_TYPE(tmp) == IS_LONG) { in zend_jit_inc_typed_prop()
2918 ZVAL_LONG(var_ptr, val); in zend_jit_inc_typed_prop()
2920 Z_PROP_FLAG_P(var_ptr) &= ~IS_PROP_REINITABLE; in zend_jit_inc_typed_prop()
2922 } else if (UNEXPECTED(!zend_verify_property_type(prop_info, var_ptr, EX_USES_STRICT_TYPES()))) { in zend_jit_inc_typed_prop()
2923 zval_ptr_dtor(var_ptr); in zend_jit_inc_typed_prop()
2924 ZVAL_COPY_VALUE(var_ptr, &tmp); in zend_jit_inc_typed_prop()
2926 Z_PROP_FLAG_P(var_ptr) &= ~IS_PROP_REINITABLE; in zend_jit_inc_typed_prop()
2931 static void ZEND_FASTCALL zend_jit_dec_typed_prop(zval *var_ptr, zend_property_info *prop_info) in zend_jit_dec_typed_prop() argument
2933 ZEND_ASSERT(Z_TYPE_P(var_ptr) != IS_UNDEF); in zend_jit_dec_typed_prop()
2935 if (UNEXPECTED(!verify_readonly_and_avis(var_ptr, prop_info, true))) { in zend_jit_dec_typed_prop()
2942 ZVAL_DEREF(var_ptr); in zend_jit_dec_typed_prop()
2943 ZVAL_COPY(&tmp, var_ptr); in zend_jit_dec_typed_prop()
2945 decrement_function(var_ptr); in zend_jit_dec_typed_prop()
2947 if (UNEXPECTED(Z_TYPE_P(var_ptr) == IS_DOUBLE) && Z_TYPE(tmp) == IS_LONG) { in zend_jit_dec_typed_prop()
2950 ZVAL_LONG(var_ptr, val); in zend_jit_dec_typed_prop()
2952 Z_PROP_FLAG_P(var_ptr) &= ~IS_PROP_REINITABLE; in zend_jit_dec_typed_prop()
2954 } else if (UNEXPECTED(!zend_verify_property_type(prop_info, var_ptr, EX_USES_STRICT_TYPES()))) { in zend_jit_dec_typed_prop()
2955 zval_ptr_dtor(var_ptr); in zend_jit_dec_typed_prop()
2956 ZVAL_COPY_VALUE(var_ptr, &tmp); in zend_jit_dec_typed_prop()
2958 Z_PROP_FLAG_P(var_ptr) &= ~IS_PROP_REINITABLE; in zend_jit_dec_typed_prop()
2963 static void ZEND_FASTCALL zend_jit_pre_inc_typed_prop(zval *var_ptr, zend_property_info *prop_info,… in zend_jit_pre_inc_typed_prop() argument
2965 ZVAL_DEREF(var_ptr); in zend_jit_pre_inc_typed_prop()
2966 zend_jit_inc_typed_prop(var_ptr, prop_info); in zend_jit_pre_inc_typed_prop()
2967 ZVAL_COPY(result, var_ptr); in zend_jit_pre_inc_typed_prop()
2970 static void ZEND_FASTCALL zend_jit_pre_dec_typed_prop(zval *var_ptr, zend_property_info *prop_info,… in zend_jit_pre_dec_typed_prop() argument
2972 ZVAL_DEREF(var_ptr); in zend_jit_pre_dec_typed_prop()
2973 zend_jit_dec_typed_prop(var_ptr, prop_info); in zend_jit_pre_dec_typed_prop()
2974 ZVAL_COPY(result, var_ptr); in zend_jit_pre_dec_typed_prop()
2977 static void ZEND_FASTCALL zend_jit_post_inc_typed_prop(zval *var_ptr, zend_property_info *prop_info… in zend_jit_post_inc_typed_prop() argument
2979 ZEND_ASSERT(Z_TYPE_P(var_ptr) != IS_UNDEF); in zend_jit_post_inc_typed_prop()
2981 if (UNEXPECTED(!verify_readonly_and_avis(var_ptr, prop_info, true))) { in zend_jit_post_inc_typed_prop()
2990 ZVAL_DEREF(var_ptr); in zend_jit_post_inc_typed_prop()
2991 ZVAL_COPY(result, var_ptr); in zend_jit_post_inc_typed_prop()
2993 increment_function(var_ptr); in zend_jit_post_inc_typed_prop()
2995 if (UNEXPECTED(Z_TYPE_P(var_ptr) == IS_DOUBLE) && Z_TYPE_P(result) == IS_LONG) { in zend_jit_post_inc_typed_prop()
2998 ZVAL_LONG(var_ptr, val); in zend_jit_post_inc_typed_prop()
3000 Z_PROP_FLAG_P(var_ptr) &= ~IS_PROP_REINITABLE; in zend_jit_post_inc_typed_prop()
3002 } else if (UNEXPECTED(!zend_verify_property_type(prop_info, var_ptr, EX_USES_STRICT_TYPES()))) { in zend_jit_post_inc_typed_prop()
3003 zval_ptr_dtor(var_ptr); in zend_jit_post_inc_typed_prop()
3004 ZVAL_COPY_VALUE(var_ptr, result); in zend_jit_post_inc_typed_prop()
3007 Z_PROP_FLAG_P(var_ptr) &= ~IS_PROP_REINITABLE; in zend_jit_post_inc_typed_prop()
3011 static void ZEND_FASTCALL zend_jit_post_dec_typed_prop(zval *var_ptr, zend_property_info *prop_info… in zend_jit_post_dec_typed_prop() argument
3013 ZEND_ASSERT(Z_TYPE_P(var_ptr) != IS_UNDEF); in zend_jit_post_dec_typed_prop()
3015 if (UNEXPECTED(!verify_readonly_and_avis(var_ptr, prop_info, true))) { in zend_jit_post_dec_typed_prop()
3024 ZVAL_DEREF(var_ptr); in zend_jit_post_dec_typed_prop()
3025 ZVAL_COPY(result, var_ptr); in zend_jit_post_dec_typed_prop()
3027 decrement_function(var_ptr); in zend_jit_post_dec_typed_prop()
3029 if (UNEXPECTED(Z_TYPE_P(var_ptr) == IS_DOUBLE) && Z_TYPE_P(result) == IS_LONG) { in zend_jit_post_dec_typed_prop()
3032 ZVAL_LONG(var_ptr, val); in zend_jit_post_dec_typed_prop()
3034 Z_PROP_FLAG_P(var_ptr) &= ~IS_PROP_REINITABLE; in zend_jit_post_dec_typed_prop()
3036 } else if (UNEXPECTED(!zend_verify_property_type(prop_info, var_ptr, EX_USES_STRICT_TYPES()))) { in zend_jit_post_dec_typed_prop()
3037 zval_ptr_dtor(var_ptr); in zend_jit_post_dec_typed_prop()
3038 ZVAL_COPY_VALUE(var_ptr, result); in zend_jit_post_dec_typed_prop()
3041 Z_PROP_FLAG_P(var_ptr) &= ~IS_PROP_REINITABLE; in zend_jit_post_dec_typed_prop()