Lines Matching refs:current_frame

597 	if (JIT_G(trigger) == ZEND_JIT_ON_HOT_TRACE && JIT_G(current_frame)) {  in jit_SNAPSHOT()
599 const zend_op_array *op_array = &JIT_G(current_frame)->func->op_array; in jit_SNAPSHOT()
636 zend_jit_trace_stack *stack = JIT_G(current_frame)->stack; in jit_SNAPSHOT()
1204 && JIT_G(current_frame) in jit_set_Z_TYPE_INFO()
1205 && STACK_MEM_TYPE(JIT_G(current_frame)->stack, EX_VAR_TO_NUM(Z_OFFSET(addr))) == type_info) { in jit_set_Z_TYPE_INFO()
4183 !JIT_G(current_frame) || in zend_jit_spill_store()
4184 STACK_MEM_TYPE(JIT_G(current_frame)->stack, EX_VAR_TO_NUM(Z_OFFSET(dst))) != IS_LONG)) { in zend_jit_spill_store()
4191 !JIT_G(current_frame) || in zend_jit_spill_store()
4192 STACK_MEM_TYPE(JIT_G(current_frame)->stack, EX_VAR_TO_NUM(Z_OFFSET(dst))) != IS_DOUBLE)) { in zend_jit_spill_store()
4208 if (Z_REG(dst) != ZREG_FP || !JIT_G(current_frame)) { in zend_jit_spill_store_inv()
4210 } else if (STACK_MEM_TYPE(JIT_G(current_frame)->stack, EX_VAR_TO_NUM(Z_OFFSET(dst))) != IS_LONG) { in zend_jit_spill_store_inv()
4212 STACK_MEM_TYPE(JIT_G(current_frame)->stack, EX_VAR_TO_NUM(Z_OFFSET(dst))) = IS_UNKNOWN; in zend_jit_spill_store_inv()
4217 if (Z_REG(dst) != ZREG_FP || !JIT_G(current_frame)) { in zend_jit_spill_store_inv()
4219 …} else if (STACK_MEM_TYPE(JIT_G(current_frame)->stack, EX_VAR_TO_NUM(Z_OFFSET(dst))) != IS_DOUBLE)… in zend_jit_spill_store_inv()
4221 STACK_MEM_TYPE(JIT_G(current_frame)->stack, EX_VAR_TO_NUM(Z_OFFSET(dst))) = IS_UNKNOWN; in zend_jit_spill_store_inv()
4261 !JIT_G(current_frame) || in zend_jit_store_ref()
4262 STACK_MEM_TYPE(JIT_G(current_frame)->stack, EX_VAR_TO_NUM(Z_OFFSET(dst))) != IS_LONG)) { in zend_jit_store_ref()
4269 !JIT_G(current_frame) || in zend_jit_store_ref()
4270 STACK_MEM_TYPE(JIT_G(current_frame)->stack, EX_VAR_TO_NUM(Z_OFFSET(dst))) != IS_DOUBLE)) { in zend_jit_store_ref()
4347 !JIT_G(current_frame) || in zend_jit_store_reg()
4348 STACK_MEM_TYPE(JIT_G(current_frame)->stack, EX_VAR_TO_NUM(Z_OFFSET(dst))) != IS_LONG)) { in zend_jit_store_reg()
4361 !JIT_G(current_frame) || in zend_jit_store_reg()
4362 STACK_MEM_TYPE(JIT_G(current_frame)->stack, EX_VAR_TO_NUM(Z_OFFSET(dst))) != IS_DOUBLE)) { in zend_jit_store_reg()
4385 !JIT_G(current_frame) || in zend_jit_store_spill_slot()
4386 STACK_MEM_TYPE(JIT_G(current_frame)->stack, EX_VAR_TO_NUM(Z_OFFSET(dst))) != IS_LONG)) { in zend_jit_store_spill_slot()
4398 !JIT_G(current_frame) || in zend_jit_store_spill_slot()
4399 STACK_MEM_TYPE(JIT_G(current_frame)->stack, EX_VAR_TO_NUM(Z_OFFSET(dst))) != IS_DOUBLE)) { in zend_jit_store_spill_slot()
4448 if (JIT_G(current_frame)) { in zend_jit_store_var_if_necessary_ex()
4449 uint32_t mem_type = STACK_MEM_TYPE(JIT_G(current_frame)->stack, EX_VAR_TO_NUM(var)); in zend_jit_store_var_if_necessary_ex()
4494 JIT_G(current_frame) == NULL || in zend_jit_update_regs()
4495 STACK_MEM_TYPE(JIT_G(current_frame)->stack, EX_VAR_TO_NUM(var)) == IS_UNKNOWN || in zend_jit_update_regs()
4496 (1 << STACK_MEM_TYPE(JIT_G(current_frame)->stack, EX_VAR_TO_NUM(var))) != (info & MAY_BE_ANY) in zend_jit_update_regs()
4505 JIT_G(current_frame) == NULL || in zend_jit_update_regs()
4506 STACK_MEM_TYPE(JIT_G(current_frame)->stack, EX_VAR_TO_NUM(var)) == IS_UNKNOWN || in zend_jit_update_regs()
4507 (1 << STACK_MEM_TYPE(JIT_G(current_frame)->stack, EX_VAR_TO_NUM(var))) != (info & MAY_BE_ANY) in zend_jit_update_regs()
4530 JIT_G(current_frame) == NULL || in zend_jit_update_regs()
4531 STACK_MEM_TYPE(JIT_G(current_frame)->stack, EX_VAR_TO_NUM(var)) == IS_UNKNOWN || in zend_jit_update_regs()
4532 (1 << STACK_MEM_TYPE(JIT_G(current_frame)->stack, EX_VAR_TO_NUM(var))) != (info & MAY_BE_ANY) in zend_jit_update_regs()
4684 stack = JIT_G(current_frame)->stack; in zend_jit_inc_dec()
4736 stack = JIT_G(current_frame)->stack; in zend_jit_inc_dec()
4993 zend_jit_trace_stack *stack = JIT_G(current_frame)->stack; in zend_jit_math_long_long()
6683 if (JIT_G(current_frame)) { in zend_jit_assign()
6684 SET_STACK_TYPE(JIT_G(current_frame)->stack, EX_VAR_TO_NUM(Z_OFFSET(op1_use_addr)), IS_LONG, 1); in zend_jit_assign()
6688 if (JIT_G(current_frame)) { in zend_jit_assign()
6689 … SET_STACK_TYPE(JIT_G(current_frame)->stack, EX_VAR_TO_NUM(Z_OFFSET(op1_use_addr)), IS_DOUBLE, 1); in zend_jit_assign()
7912 zend_jit_trace_stack *stack = JIT_G(current_frame)->stack; in zend_jit_guard_fetch_result_type()
8033 if ((res_info & MAY_BE_GUARD) && JIT_G(current_frame)) { in zend_jit_fetch_constant()
9394 && JIT_G(current_frame)
9395 && JIT_G(current_frame)->call
9396 && JIT_G(current_frame)->call->func) {
9397 if (ARG_MUST_BE_SENT_BY_REF(JIT_G(current_frame)->call->func, arg_num)) {
9557 && JIT_G(current_frame)
9558 && JIT_G(current_frame)->call
9559 && JIT_G(current_frame)->call->func) {
9560 if (ARG_SHOULD_BE_SENT_BY_REF(JIT_G(current_frame)->call->func, arg_num)) {
9584 && JIT_G(current_frame)
9585 && JIT_G(current_frame)->call
9586 && JIT_G(current_frame)->call->func) {
9587 if (ARG_SHOULD_BE_SENT_BY_REF(JIT_G(current_frame)->call->func, arg_num)) {
9595 if (!ARG_MAY_BE_SENT_BY_REF(JIT_G(current_frame)->call->func, arg_num)) {
9666 && JIT_G(current_frame)
9667 && JIT_G(current_frame)->call
9668 && JIT_G(current_frame)->call->func) {
9669 if (ARG_SHOULD_BE_SENT_BY_REF(JIT_G(current_frame)->call->func, arg_num)) {
9842 && JIT_G(current_frame)
9843 && JIT_G(current_frame)->call
9844 && JIT_G(current_frame)->call->func) {
9845 if (ARG_SHOULD_BE_SENT_BY_REF(JIT_G(current_frame)->call->func, arg_num)) {
9846 if (!TRACE_FRAME_IS_LAST_SEND_BY_REF(JIT_G(current_frame)->call)) {
9847 TRACE_FRAME_SET_LAST_SEND_BY_REF(JIT_G(current_frame)->call);
9858 if (!TRACE_FRAME_IS_LAST_SEND_BY_VAL(JIT_G(current_frame)->call)) {
9859 TRACE_FRAME_SET_LAST_SEND_BY_VAL(JIT_G(current_frame)->call);
9957 && JIT_G(current_frame)
9958 && JIT_G(current_frame)->call
9959 && !JIT_G(current_frame)->call->func) {
9981 if (JIT_G(current_frame) &&
9982 JIT_G(current_frame)->call &&
9983 TRACE_FRAME_NUM_ARGS(JIT_G(current_frame)->call) >= 0) {
9984 call_num_args = TRACE_FRAME_NUM_ARGS(JIT_G(current_frame)->call);
9993 if (JIT_G(current_frame) &&
9994 JIT_G(current_frame)->call &&
9995 TRACE_FRAME_NUM_ARGS(JIT_G(current_frame)->call) >= 0) {
9996 call_num_args = TRACE_FRAME_NUM_ARGS(JIT_G(current_frame)->call);
10120 (JIT_G(current_frame) &&
10121 JIT_G(current_frame)->call &&
10122 TRACE_FRAME_IS_CLOSURE_CALL(JIT_G(current_frame)->call))) {
10536 !JIT_G(current_frame) ||
10537 !JIT_G(current_frame)->call ||
10538 !TRACE_FRAME_IS_NESTED(JIT_G(current_frame)->call) ||
10666 && JIT_G(current_frame)
10667 && JIT_G(current_frame)->prev) {
10668 zend_jit_trace_stack *stack = JIT_G(current_frame)->stack;
10735 if (!JIT_G(current_frame) ||
10736 TRACE_FRAME_NUM_ARGS(JIT_G(current_frame)) < 0 ||
10737 arg_num > TRACE_FRAME_NUM_ARGS(JIT_G(current_frame))) {
10775 && JIT_G(current_frame)
10776 && TRACE_FRAME_NUM_ARGS(JIT_G(current_frame)) >= 0) {
10777 if (arg_num > TRACE_FRAME_NUM_ARGS(JIT_G(current_frame))) {
10940 !JIT_G(current_frame) ||
10941 !TRACE_FRAME_IS_NESTED(JIT_G(current_frame));
10948 !JIT_G(current_frame) ||
10949 TRACE_FRAME_NUM_ARGS(JIT_G(current_frame)) == -1 || /* unknown number of args */
10950 (uint32_t)TRACE_FRAME_NUM_ARGS(JIT_G(current_frame)) > op_array->num_args; /* extra args */
10956 !JIT_G(current_frame) ||
10957 !TRACE_FRAME_NO_NEED_RELEASE_THIS(JIT_G(current_frame)));
11025 if (!JIT_G(current_frame) || !TRACE_FRAME_ALWAYS_RELEASE_THIS(JIT_G(current_frame))) {
11057 && (JIT_G(current_frame) && !TRACE_FRAME_IS_UNKNOWN_RETURN(JIT_G(current_frame)))) {
11087 && (!JIT_G(current_frame) || TRACE_FRAME_IS_UNKNOWN_RETURN(JIT_G(current_frame)))) {
11132 && (!JIT_G(current_frame) || TRACE_FRAME_IS_RETURN_VALUE_UNUSED(JIT_G(current_frame))))) {
11180 if (JIT_G(current_frame)) {
11181 if (TRACE_FRAME_IS_RETURN_VALUE_USED(JIT_G(current_frame))) {
11183 } else if (TRACE_FRAME_IS_RETURN_VALUE_UNUSED(JIT_G(current_frame))) {
12429 && JIT_G(current_frame)
12455 zend_jit_trace_stack *stack = JIT_G(current_frame)->stack;
14013 if (!JIT_G(current_frame) ||
14014 !TRACE_FRAME_IS_THIS_CHECKED(JIT_G(current_frame))) {
14026 if (JIT_G(current_frame)) {
14027 TRACE_FRAME_SET_THIS_CHECKED(JIT_G(current_frame));
14179 if (on_this && JIT_G(current_frame)
14180 && TRACE_FRAME_IS_THIS_CLASS_CHECKED(JIT_G(current_frame))) {
14181 ZEND_ASSERT(JIT_G(current_frame)->ce == ce);
14183 if (on_this && JIT_G(current_frame)) {
14184 JIT_G(current_frame)->ce = ce;
14185 TRACE_FRAME_SET_THIS_CLASS_CHECKED(JIT_G(current_frame));
14336 if (opline->opcode == ZEND_FETCH_OBJ_W || !(res_info & MAY_BE_GUARD) || !JIT_G(current_frame)) {
14452 if (((res_info & MAY_BE_GUARD) && JIT_G(current_frame) && prop_info)
14467 SET_STACK_REG(JIT_G(current_frame)->stack, EX_VAR_TO_NUM(opline->op1.var), ZREG_NONE);
14500 if ((res_info & MAY_BE_GUARD) && JIT_G(current_frame)) {
14682 if (on_this && JIT_G(current_frame)
14683 && TRACE_FRAME_IS_THIS_CLASS_CHECKED(JIT_G(current_frame))) {
14684 ZEND_ASSERT(JIT_G(current_frame)->ce == ce);
14686 if (on_this && JIT_G(current_frame)) {
14687 JIT_G(current_frame)->ce = ce;
14688 TRACE_FRAME_SET_THIS_CLASS_CHECKED(JIT_G(current_frame));
15032 if (on_this && JIT_G(current_frame)
15033 && TRACE_FRAME_IS_THIS_CLASS_CHECKED(JIT_G(current_frame))) {
15034 ZEND_ASSERT(JIT_G(current_frame)->ce == ce);
15036 if (on_this && JIT_G(current_frame)) {
15037 JIT_G(current_frame)->ce = ce;
15038 TRACE_FRAME_SET_THIS_CLASS_CHECKED(JIT_G(current_frame));
15455 if (on_this && JIT_G(current_frame)
15456 && TRACE_FRAME_IS_THIS_CLASS_CHECKED(JIT_G(current_frame))) {
15457 ZEND_ASSERT(JIT_G(current_frame)->ce == ce);
15459 if (on_this && JIT_G(current_frame)) {
15460 JIT_G(current_frame)->ce = ce;
15461 TRACE_FRAME_SET_THIS_CLASS_CHECKED(JIT_G(current_frame));
15776 zend_jit_trace_stack *stack = JIT_G(current_frame)->stack;
16984 zend_jit_trace_stack *stack = JIT_G(current_frame)->stack;