Lines Matching refs:last_op

618 		zend_op *last_op = &CG(active_op_array)->opcodes[last_op_number-1];  in zend_do_binary_assign_op()  local
620 switch (last_op->opcode) { in zend_do_binary_assign_op()
622 last_op->opcode = op; in zend_do_binary_assign_op()
623 last_op->extended_value = ZEND_ASSIGN_OBJ; in zend_do_binary_assign_op()
627 GET_NODE(result, last_op->result); in zend_do_binary_assign_op()
630 last_op->opcode = op; in zend_do_binary_assign_op()
631 last_op->extended_value = ZEND_ASSIGN_DIM; in zend_do_binary_assign_op()
637 GET_NODE(result,last_op->result); in zend_do_binary_assign_op()
967 zend_op *last_op; in zend_do_assign() local
969 last_op = &CG(active_op_array)->opcodes[last_op_number-n-1]; in zend_do_assign()
971 if (last_op->result_type == IS_VAR && in zend_do_assign()
972 last_op->result.var == variable->u.op.var) { in zend_do_assign()
973 if (last_op->opcode == ZEND_FETCH_OBJ_W) { in zend_do_assign()
976 *opline = *last_op; in zend_do_assign()
977 MAKE_NOP(last_op); in zend_do_assign()
981 last_op = &CG(active_op_array)->opcodes[opline_no]; in zend_do_assign()
983 last_op->opcode = ZEND_ASSIGN_OBJ; in zend_do_assign()
986 GET_NODE(result, last_op->result); in zend_do_assign()
988 } else if (last_op->opcode == ZEND_FETCH_DIM_W) { in zend_do_assign()
991 *opline = *last_op; in zend_do_assign()
992 MAKE_NOP(last_op); in zend_do_assign()
997 last_op = &CG(active_op_array)->opcodes[opline_no]; in zend_do_assign()
999 last_op->opcode = ZEND_ASSIGN_DIM; in zend_do_assign()
1004 GET_NODE(result, last_op->result); in zend_do_assign()
1006 } else if (opline_is_fetch_this(last_op TSRMLS_CC)) { in zend_do_assign()
1176 zend_op *last_op = &CG(active_op_array)->opcodes[last_op_number-1]; in zend_do_pre_incdec() local
1178 if (last_op->opcode == ZEND_FETCH_OBJ_RW) { in zend_do_pre_incdec()
1179 last_op->opcode = (op==ZEND_PRE_INC)?ZEND_PRE_INC_OBJ:ZEND_PRE_DEC_OBJ; in zend_do_pre_incdec()
1180 last_op->result_type = IS_VAR; in zend_do_pre_incdec()
1181 last_op->result.var = get_temporary_variable(CG(active_op_array)); in zend_do_pre_incdec()
1182 GET_NODE(result, last_op->result); in zend_do_pre_incdec()
1203 zend_op *last_op = &CG(active_op_array)->opcodes[last_op_number-1]; in zend_do_post_incdec() local
1205 if (last_op->opcode == ZEND_FETCH_OBJ_RW) { in zend_do_post_incdec()
1206 last_op->opcode = (op==ZEND_POST_INC)?ZEND_POST_INC_OBJ:ZEND_POST_DEC_OBJ; in zend_do_post_incdec()
1207 last_op->result_type = IS_TMP_VAR; in zend_do_post_incdec()
1208 last_op->result.var = get_temporary_variable(CG(active_op_array)); in zend_do_post_incdec()
1209 GET_NODE(result, last_op->result); in zend_do_post_incdec()
1974 zend_op *last_op; in zend_do_begin_method_call() local
1982 last_op = &CG(active_op_array)->opcodes[last_op_number]; in zend_do_begin_method_call()
1984 …if ((last_op->op2_type == IS_CONST) && (Z_TYPE(CONSTANT(last_op->op2.constant)) == IS_STRING) && (… in zend_do_begin_method_call()
1985 …&& !zend_binary_strcasecmp(Z_STRVAL(CONSTANT(last_op->op2.constant)), Z_STRLEN(CONSTANT(last_op->o… in zend_do_begin_method_call()
1989 if (last_op->opcode == ZEND_FETCH_OBJ_R) { in zend_do_begin_method_call()
1990 if (last_op->op2_type == IS_CONST) { in zend_do_begin_method_call()
1992 name = CONSTANT(last_op->op2.constant); in zend_do_begin_method_call()
1999 FREE_POLYMORPHIC_CACHE_SLOT(last_op->op2.constant); in zend_do_begin_method_call()
2000 last_op->op2.constant = in zend_do_begin_method_call()
2002 GET_POLYMORPHIC_CACHE_SLOT(last_op->op2.constant); in zend_do_begin_method_call()
2004 last_op->opcode = ZEND_INIT_METHOD_CALL; in zend_do_begin_method_call()
2005 last_op->result_type = IS_UNUSED; in zend_do_begin_method_call()
2006 last_op->result.num = CG(context).nested_calls; in zend_do_begin_method_call()
6139 zend_op *last_op; in zend_do_unset() local
6151 last_op = &CG(active_op_array)->opcodes[get_next_op_number(CG(active_op_array))-1]; in zend_do_unset()
6153 switch (last_op->opcode) { in zend_do_unset()
6155 last_op->opcode = ZEND_UNSET_VAR; in zend_do_unset()
6156 SET_UNUSED(last_op->result); in zend_do_unset()
6159 last_op->opcode = ZEND_UNSET_DIM; in zend_do_unset()
6160 SET_UNUSED(last_op->result); in zend_do_unset()
6163 last_op->opcode = ZEND_UNSET_OBJ; in zend_do_unset()
6164 SET_UNUSED(last_op->result); in zend_do_unset()
6174 zend_op *last_op; in zend_do_isset_or_isempty() local
6190 last_op = get_next_op(CG(active_op_array) TSRMLS_CC); in zend_do_isset_or_isempty()
6191 last_op->opcode = ZEND_ISSET_ISEMPTY_VAR; in zend_do_isset_or_isempty()
6192 SET_NODE(last_op->op1, variable); in zend_do_isset_or_isempty()
6193 SET_UNUSED(last_op->op2); in zend_do_isset_or_isempty()
6194 last_op->result.var = get_temporary_variable(CG(active_op_array)); in zend_do_isset_or_isempty()
6195 last_op->extended_value = ZEND_FETCH_LOCAL | ZEND_QUICK_SET; in zend_do_isset_or_isempty()
6197 last_op = &CG(active_op_array)->opcodes[get_next_op_number(CG(active_op_array))-1]; in zend_do_isset_or_isempty()
6199 switch (last_op->opcode) { in zend_do_isset_or_isempty()
6201 last_op->opcode = ZEND_ISSET_ISEMPTY_VAR; in zend_do_isset_or_isempty()
6204 last_op->opcode = ZEND_ISSET_ISEMPTY_DIM_OBJ; in zend_do_isset_or_isempty()
6207 last_op->opcode = ZEND_ISSET_ISEMPTY_PROP_OBJ; in zend_do_isset_or_isempty()
6211 last_op->result_type = IS_TMP_VAR; in zend_do_isset_or_isempty()
6212 last_op->extended_value |= type; in zend_do_isset_or_isempty()
6214 GET_NODE(result, last_op->result); in zend_do_isset_or_isempty()