Lines Matching refs:last_op

615 		zend_op *last_op = &CG(active_op_array)->opcodes[last_op_number-1];  in zend_do_binary_assign_op()  local
617 switch (last_op->opcode) { in zend_do_binary_assign_op()
619 last_op->opcode = op; in zend_do_binary_assign_op()
620 last_op->extended_value = ZEND_ASSIGN_OBJ; in zend_do_binary_assign_op()
624 GET_NODE(result, last_op->result); in zend_do_binary_assign_op()
627 last_op->opcode = op; in zend_do_binary_assign_op()
628 last_op->extended_value = ZEND_ASSIGN_DIM; in zend_do_binary_assign_op()
634 GET_NODE(result,last_op->result); in zend_do_binary_assign_op()
964 zend_op *last_op; in zend_do_assign() local
966 last_op = &CG(active_op_array)->opcodes[last_op_number-n-1]; in zend_do_assign()
968 if (last_op->result_type == IS_VAR && in zend_do_assign()
969 last_op->result.var == variable->u.op.var) { in zend_do_assign()
970 if (last_op->opcode == ZEND_FETCH_OBJ_W) { in zend_do_assign()
973 *opline = *last_op; in zend_do_assign()
974 MAKE_NOP(last_op); in zend_do_assign()
978 last_op = &CG(active_op_array)->opcodes[opline_no]; in zend_do_assign()
980 last_op->opcode = ZEND_ASSIGN_OBJ; in zend_do_assign()
983 GET_NODE(result, last_op->result); in zend_do_assign()
985 } else if (last_op->opcode == ZEND_FETCH_DIM_W) { in zend_do_assign()
988 *opline = *last_op; in zend_do_assign()
989 MAKE_NOP(last_op); in zend_do_assign()
994 last_op = &CG(active_op_array)->opcodes[opline_no]; in zend_do_assign()
996 last_op->opcode = ZEND_ASSIGN_DIM; in zend_do_assign()
1001 GET_NODE(result, last_op->result); in zend_do_assign()
1003 } else if (opline_is_fetch_this(last_op TSRMLS_CC)) { in zend_do_assign()
1173 zend_op *last_op = &CG(active_op_array)->opcodes[last_op_number-1]; in zend_do_pre_incdec() local
1175 if (last_op->opcode == ZEND_FETCH_OBJ_RW) { in zend_do_pre_incdec()
1176 last_op->opcode = (op==ZEND_PRE_INC)?ZEND_PRE_INC_OBJ:ZEND_PRE_DEC_OBJ; in zend_do_pre_incdec()
1177 last_op->result_type = IS_VAR; in zend_do_pre_incdec()
1178 last_op->result.var = get_temporary_variable(CG(active_op_array)); in zend_do_pre_incdec()
1179 GET_NODE(result, last_op->result); in zend_do_pre_incdec()
1200 zend_op *last_op = &CG(active_op_array)->opcodes[last_op_number-1]; in zend_do_post_incdec() local
1202 if (last_op->opcode == ZEND_FETCH_OBJ_RW) { in zend_do_post_incdec()
1203 last_op->opcode = (op==ZEND_POST_INC)?ZEND_POST_INC_OBJ:ZEND_POST_DEC_OBJ; in zend_do_post_incdec()
1204 last_op->result_type = IS_TMP_VAR; in zend_do_post_incdec()
1205 last_op->result.var = get_temporary_variable(CG(active_op_array)); in zend_do_post_incdec()
1206 GET_NODE(result, last_op->result); in zend_do_post_incdec()
1961 zend_op *last_op; in zend_do_begin_method_call() local
1969 last_op = &CG(active_op_array)->opcodes[last_op_number]; in zend_do_begin_method_call()
1971 …if ((last_op->op2_type == IS_CONST) && (Z_TYPE(CONSTANT(last_op->op2.constant)) == IS_STRING) && (… in zend_do_begin_method_call()
1972 …&& !zend_binary_strcasecmp(Z_STRVAL(CONSTANT(last_op->op2.constant)), Z_STRLEN(CONSTANT(last_op->o… in zend_do_begin_method_call()
1976 if (last_op->opcode == ZEND_FETCH_OBJ_R) { in zend_do_begin_method_call()
1977 if (last_op->op2_type == IS_CONST) { in zend_do_begin_method_call()
1979 name = CONSTANT(last_op->op2.constant); in zend_do_begin_method_call()
1986 FREE_POLYMORPHIC_CACHE_SLOT(last_op->op2.constant); in zend_do_begin_method_call()
1987 last_op->op2.constant = in zend_do_begin_method_call()
1989 GET_POLYMORPHIC_CACHE_SLOT(last_op->op2.constant); in zend_do_begin_method_call()
1991 last_op->opcode = ZEND_INIT_METHOD_CALL; in zend_do_begin_method_call()
1992 SET_UNUSED(last_op->result); in zend_do_begin_method_call()
5907 zend_op *last_op; in zend_do_unset() local
5919 last_op = &CG(active_op_array)->opcodes[get_next_op_number(CG(active_op_array))-1]; in zend_do_unset()
5921 switch (last_op->opcode) { in zend_do_unset()
5923 last_op->opcode = ZEND_UNSET_VAR; in zend_do_unset()
5924 SET_UNUSED(last_op->result); in zend_do_unset()
5927 last_op->opcode = ZEND_UNSET_DIM; in zend_do_unset()
5928 SET_UNUSED(last_op->result); in zend_do_unset()
5931 last_op->opcode = ZEND_UNSET_OBJ; in zend_do_unset()
5932 SET_UNUSED(last_op->result); in zend_do_unset()
5942 zend_op *last_op; in zend_do_isset_or_isempty() local
5949 last_op = get_next_op(CG(active_op_array) TSRMLS_CC); in zend_do_isset_or_isempty()
5950 last_op->opcode = ZEND_ISSET_ISEMPTY_VAR; in zend_do_isset_or_isempty()
5951 SET_NODE(last_op->op1, variable); in zend_do_isset_or_isempty()
5952 SET_UNUSED(last_op->op2); in zend_do_isset_or_isempty()
5953 last_op->result.var = get_temporary_variable(CG(active_op_array)); in zend_do_isset_or_isempty()
5954 last_op->extended_value = ZEND_FETCH_LOCAL | ZEND_QUICK_SET; in zend_do_isset_or_isempty()
5956 last_op = &CG(active_op_array)->opcodes[get_next_op_number(CG(active_op_array))-1]; in zend_do_isset_or_isempty()
5958 switch (last_op->opcode) { in zend_do_isset_or_isempty()
5960 last_op->opcode = ZEND_ISSET_ISEMPTY_VAR; in zend_do_isset_or_isempty()
5963 last_op->opcode = ZEND_ISSET_ISEMPTY_DIM_OBJ; in zend_do_isset_or_isempty()
5966 last_op->opcode = ZEND_ISSET_ISEMPTY_PROP_OBJ; in zend_do_isset_or_isempty()
5970 last_op->result_type = IS_TMP_VAR; in zend_do_isset_or_isempty()
5971 last_op->extended_value |= type; in zend_do_isset_or_isempty()
5973 GET_NODE(result, last_op->result); in zend_do_isset_or_isempty()