Lines Matching refs:last_op

626 		zend_op *last_op = &CG(active_op_array)->opcodes[last_op_number-1];  in zend_do_binary_assign_op()  local
628 switch (last_op->opcode) { in zend_do_binary_assign_op()
630 last_op->opcode = op; in zend_do_binary_assign_op()
631 last_op->extended_value = ZEND_ASSIGN_OBJ; in zend_do_binary_assign_op()
635 GET_NODE(result, last_op->result); in zend_do_binary_assign_op()
638 last_op->opcode = op; in zend_do_binary_assign_op()
639 last_op->extended_value = ZEND_ASSIGN_DIM; in zend_do_binary_assign_op()
645 GET_NODE(result,last_op->result); in zend_do_binary_assign_op()
975 zend_op *last_op; in zend_do_assign() local
977 last_op = &CG(active_op_array)->opcodes[last_op_number-n-1]; in zend_do_assign()
979 if (last_op->result_type == IS_VAR && in zend_do_assign()
980 last_op->result.var == variable->u.op.var) { in zend_do_assign()
981 if (last_op->opcode == ZEND_FETCH_OBJ_W) { in zend_do_assign()
984 *opline = *last_op; in zend_do_assign()
985 MAKE_NOP(last_op); in zend_do_assign()
989 last_op = &CG(active_op_array)->opcodes[opline_no]; in zend_do_assign()
991 last_op->opcode = ZEND_ASSIGN_OBJ; in zend_do_assign()
994 GET_NODE(result, last_op->result); in zend_do_assign()
996 } else if (last_op->opcode == ZEND_FETCH_DIM_W) { in zend_do_assign()
999 *opline = *last_op; in zend_do_assign()
1000 MAKE_NOP(last_op); in zend_do_assign()
1005 last_op = &CG(active_op_array)->opcodes[opline_no]; in zend_do_assign()
1007 last_op->opcode = ZEND_ASSIGN_DIM; in zend_do_assign()
1012 GET_NODE(result, last_op->result); in zend_do_assign()
1014 } else if (opline_is_fetch_this(last_op TSRMLS_CC)) { in zend_do_assign()
1184 zend_op *last_op = &CG(active_op_array)->opcodes[last_op_number-1]; in zend_do_pre_incdec() local
1186 if (last_op->opcode == ZEND_FETCH_OBJ_RW) { in zend_do_pre_incdec()
1187 last_op->opcode = (op==ZEND_PRE_INC)?ZEND_PRE_INC_OBJ:ZEND_PRE_DEC_OBJ; in zend_do_pre_incdec()
1188 last_op->result_type = IS_VAR; in zend_do_pre_incdec()
1189 last_op->result.var = get_temporary_variable(CG(active_op_array)); in zend_do_pre_incdec()
1190 GET_NODE(result, last_op->result); in zend_do_pre_incdec()
1211 zend_op *last_op = &CG(active_op_array)->opcodes[last_op_number-1]; in zend_do_post_incdec() local
1213 if (last_op->opcode == ZEND_FETCH_OBJ_RW) { in zend_do_post_incdec()
1214 last_op->opcode = (op==ZEND_POST_INC)?ZEND_POST_INC_OBJ:ZEND_POST_DEC_OBJ; in zend_do_post_incdec()
1215 last_op->result_type = IS_TMP_VAR; in zend_do_post_incdec()
1216 last_op->result.var = get_temporary_variable(CG(active_op_array)); in zend_do_post_incdec()
1217 GET_NODE(result, last_op->result); in zend_do_post_incdec()
2019 zend_op *last_op; in zend_do_begin_method_call() local
2026 last_op = &CG(active_op_array)->opcodes[last_op_number]; in zend_do_begin_method_call()
2028 …if ((last_op->op2_type == IS_CONST) && (Z_TYPE(CONSTANT(last_op->op2.constant)) == IS_STRING) && (… in zend_do_begin_method_call()
2029 …&& !zend_binary_strcasecmp(Z_STRVAL(CONSTANT(last_op->op2.constant)), Z_STRLEN(CONSTANT(last_op->o… in zend_do_begin_method_call()
2033 if (last_op->opcode == ZEND_FETCH_OBJ_R) { in zend_do_begin_method_call()
2034 if (last_op->op2_type == IS_CONST) { in zend_do_begin_method_call()
2036 name = CONSTANT(last_op->op2.constant); in zend_do_begin_method_call()
2041 FREE_POLYMORPHIC_CACHE_SLOT(last_op->op2.constant); in zend_do_begin_method_call()
2042 last_op->op2.constant = in zend_do_begin_method_call()
2044 GET_POLYMORPHIC_CACHE_SLOT(last_op->op2.constant); in zend_do_begin_method_call()
2046 last_op->opcode = ZEND_INIT_METHOD_CALL; in zend_do_begin_method_call()
2047 last_op->result_type = IS_UNUSED; in zend_do_begin_method_call()
2048 last_op->result.num = CG(context).nested_calls; in zend_do_begin_method_call()
6264 zend_op *last_op; in zend_do_unset() local
6276 last_op = &CG(active_op_array)->opcodes[get_next_op_number(CG(active_op_array))-1]; in zend_do_unset()
6278 switch (last_op->opcode) { in zend_do_unset()
6280 last_op->opcode = ZEND_UNSET_VAR; in zend_do_unset()
6281 SET_UNUSED(last_op->result); in zend_do_unset()
6284 last_op->opcode = ZEND_UNSET_DIM; in zend_do_unset()
6285 SET_UNUSED(last_op->result); in zend_do_unset()
6288 last_op->opcode = ZEND_UNSET_OBJ; in zend_do_unset()
6289 SET_UNUSED(last_op->result); in zend_do_unset()
6299 zend_op *last_op; in zend_do_isset_or_isempty() local
6315 last_op = get_next_op(CG(active_op_array) TSRMLS_CC); in zend_do_isset_or_isempty()
6316 last_op->opcode = ZEND_ISSET_ISEMPTY_VAR; in zend_do_isset_or_isempty()
6317 SET_NODE(last_op->op1, variable); in zend_do_isset_or_isempty()
6318 SET_UNUSED(last_op->op2); in zend_do_isset_or_isempty()
6319 last_op->result.var = get_temporary_variable(CG(active_op_array)); in zend_do_isset_or_isempty()
6320 last_op->extended_value = ZEND_FETCH_LOCAL | ZEND_QUICK_SET; in zend_do_isset_or_isempty()
6322 last_op = &CG(active_op_array)->opcodes[get_next_op_number(CG(active_op_array))-1]; in zend_do_isset_or_isempty()
6324 switch (last_op->opcode) { in zend_do_isset_or_isempty()
6326 last_op->opcode = ZEND_ISSET_ISEMPTY_VAR; in zend_do_isset_or_isempty()
6329 last_op->opcode = ZEND_ISSET_ISEMPTY_DIM_OBJ; in zend_do_isset_or_isempty()
6332 last_op->opcode = ZEND_ISSET_ISEMPTY_PROP_OBJ; in zend_do_isset_or_isempty()
6336 last_op->result_type = IS_TMP_VAR; in zend_do_isset_or_isempty()
6337 last_op->extended_value |= type; in zend_do_isset_or_isempty()
6339 GET_NODE(result, last_op->result); in zend_do_isset_or_isempty()