Lines Matching refs:zend_emit_op
95 static zend_op *zend_emit_op(znode *result, uint8_t opcode, znode *op1, znode *op2);
799 zend_emit_op(NULL, ZEND_FREE, op1, NULL); in zend_do_free()
819 zend_emit_op(NULL, ZEND_FREE, op1, NULL); in zend_do_free()
827 zend_emit_op(NULL, ZEND_FREE, op1, NULL); in zend_do_free()
833 zend_emit_op(NULL, ZEND_FREE, op1, NULL); in zend_do_free()
2282 static zend_op *zend_emit_op(znode *result, uint8_t opcode, znode *op1, znode *op2) /* {{{ */ in zend_emit_op() function
2341 return zend_emit_op(NULL, ZEND_OP_DATA, value, NULL); in zend_emit_op_data()
2348 zend_op *opline = zend_emit_op(NULL, ZEND_JMP, NULL, NULL); in zend_emit_jump()
2400 opline = zend_emit_op(NULL, opcode, cond, NULL); in zend_emit_cond_jump()
2571 zend_op *opline = zend_emit_op(NULL, ZEND_JMP_NULL, obj_node, NULL); in zend_emit_jmp_null()
2593 zend_emit_op(&memoized_result, ZEND_COPY_TMP, result, NULL); in zend_compile_memoized_expr()
2700 opline = zend_emit_op(NULL, ZEND_VERIFY_RETURN_TYPE, expr, NULL); in zend_emit_return_type_check()
2722 zend_emit_op(NULL, ZEND_VERIFY_NEVER_TYPE, NULL, NULL); in zend_emit_final_return()
2736 ret = zend_emit_op(NULL, returns_reference ? ZEND_RETURN_BY_REF : ZEND_RETURN, &zn, NULL); in zend_emit_final_return()
2871 zend_op *opline = zend_emit_op(result, ZEND_FETCH_CLASS, NULL, &name_node); in zend_compile_class_ref()
2941 opline = zend_emit_op(result, ZEND_FETCH_R, &name_node, NULL); in zend_compile_simple_var_no_cv()
3006 zend_op *opline = zend_emit_op(result, ZEND_FETCH_THIS, NULL, NULL); in zend_compile_simple_var()
3014 zend_op *opline = zend_emit_op(result, ZEND_FETCH_GLOBALS, NULL, NULL); in zend_compile_simple_var()
3035 zend_op *opline = zend_emit_op(NULL, ZEND_SEPARATE, node, NULL); in zend_separate_if_call_and_write()
3139 zend_emit_op(&obj_node, ZEND_FETCH_THIS, NULL, NULL); in zend_delayed_compile_prop()
3227 opline = zend_emit_op(result, ZEND_FETCH_STATIC_PROP_R, &prop_node, NULL); in zend_compile_static_prop()
3361 opline = zend_emit_op(&fetch_result, in zend_compile_list_assign()
3369 zend_emit_op(&fetch_result, ZEND_MAKE_REF, &fetch_result, NULL); in zend_compile_list_assign()
3530 zend_emit_op(&expr_node, ZEND_MAKE_REF, &expr_node, NULL); in zend_compile_assign()
3585 zend_emit_op(&source_node, ZEND_MAKE_REF, &source_node, NULL); in zend_compile_assign_ref()
3609 opline = zend_emit_op(result, ZEND_ASSIGN_REF, &target_node, &source_node); in zend_compile_assign_ref()
3756 opline = zend_emit_op(NULL, ZEND_SEND_UNPACK, &arg_node, NULL); in zend_compile_args()
3846 zend_emit_op(&arg_node, ZEND_FETCH_THIS, NULL, NULL); in zend_compile_args()
3855 opline = zend_emit_op(NULL, ZEND_CHECK_FUNC_ARG, NULL, NULL); in zend_compile_args()
3903 opline = zend_emit_op(NULL, opcode, &arg_node, NULL); in zend_compile_args()
3916 zend_emit_op(NULL, ZEND_CHECK_UNDEF_ARGS, NULL, NULL); in zend_compile_args()
3987 opline = zend_emit_op(result, zend_get_call_op(opline, fbc), NULL, NULL); in zend_compile_call_common()
4037 zend_emit_op(NULL, ZEND_INIT_DYNAMIC_CALL, NULL, name_node); in zend_compile_dynamic_call()
4246 opline = zend_emit_op(NULL, ZEND_INIT_FCALL, NULL, NULL); in zend_try_compile_ct_bound_init_user_func()
4268 opline = zend_emit_op(NULL, ZEND_INIT_USER_CALL, NULL, &name_node); in zend_compile_init_user_func()
4309 opline = zend_emit_op(NULL, ZEND_SEND_ARRAY, &arg_node, &len_node); in zend_compile_func_cufa()
4311 zend_emit_op(result, ZEND_DO_FCALL, NULL, NULL); in zend_compile_func_cufa()
4319 zend_emit_op(NULL, ZEND_SEND_ARRAY, &arg_node, NULL); in zend_compile_func_cufa()
4320 zend_emit_op(NULL, ZEND_CHECK_UNDEF_ARGS, NULL, NULL); in zend_compile_func_cufa()
4321 opline = zend_emit_op(result, ZEND_DO_FCALL, NULL, NULL); in zend_compile_func_cufa()
4345 opline = zend_emit_op(NULL, ZEND_SEND_USER, &arg_node, NULL); in zend_compile_func_cuf()
4349 zend_emit_op(result, ZEND_DO_FCALL, NULL, NULL); in zend_compile_func_cuf()
4362 zend_emit_op(NULL, ZEND_ASSERT_CHECK, NULL, NULL); in zend_compile_assert()
4368 opline = zend_emit_op(NULL, ZEND_INIT_FCALL, NULL, &name_node); in zend_compile_assert()
4370 opline = zend_emit_op(NULL, ZEND_INIT_NS_FCALL_BY_NAME, NULL, NULL); in zend_compile_assert()
4745 zend_emit_op(NULL, ZEND_JMP_FRAMELESS, &op1, NULL); in zend_compile_ns_call()
5196 opline = zend_emit_op(NULL, ZEND_INIT_FCALL, NULL, &name_node); in zend_compile_call()
5226 zend_emit_op(&obj_node, ZEND_FETCH_THIS, NULL, NULL); in zend_compile_method_call()
5241 opline = zend_emit_op(NULL, ZEND_INIT_METHOD_CALL, &obj_node, NULL); in zend_compile_method_call()
5395 opline = zend_emit_op(result, ZEND_NEW, NULL, NULL); in zend_compile_new()
5438 zend_op *opline = zend_emit_op(NULL, ZEND_BIND_GLOBAL, &result, &name_node); in zend_compile_global_var()
5444 zend_op *opline = zend_emit_op(&result, ZEND_FETCH_W, &name_node, NULL); in zend_compile_global_var()
5475 opline = zend_emit_op(NULL, ZEND_BIND_STATIC, NULL, NULL); in zend_compile_static_var_common()
5518 opline = zend_emit_op(NULL, ZEND_BIND_INIT_STATIC_OR_JMP, NULL, NULL); in zend_compile_static_var()
5526 opline = zend_emit_op(NULL, ZEND_BIND_STATIC, NULL, &expr); in zend_compile_static_var()
5554 opline = zend_emit_op(NULL, ZEND_UNSET_VAR, &var_node, NULL); in zend_compile_unset()
5564 opline = zend_emit_op(NULL, ZEND_UNSET_CV, &var_node, NULL); in zend_compile_unset()
5704 zend_emit_op(&expr_node, ZEND_MAKE_REF, &expr_node, NULL); in zend_compile_return()
5718 opline = zend_emit_op(NULL, by_ref ? ZEND_RETURN_BY_REF : ZEND_RETURN, in zend_compile_return()
5739 opline = zend_emit_op(NULL, ZEND_ECHO, &expr_node, NULL); in zend_compile_echo()
5751 zend_op *opline = zend_emit_op(NULL, ZEND_THROW, &expr_node, NULL); in zend_compile_throw()
5832 opline = zend_emit_op(NULL, ast->kind == ZEND_AST_BREAK ? ZEND_BRK : ZEND_CONT, NULL, NULL); in zend_compile_break_continue()
5910 opline = zend_emit_op(NULL, ZEND_GOTO, NULL, &label_node); in zend_compile_goto()
6078 opline = zend_emit_op(&reset_node, by_ref ? ZEND_FE_RESET_RW : ZEND_FE_RESET_R, &expr_node, NULL); in zend_compile_foreach()
6083 opline = zend_emit_op(NULL, by_ref ? ZEND_FE_FETCH_RW : ZEND_FE_FETCH_R, &reset_node, NULL); in zend_compile_foreach()
6125 opline = zend_emit_op(NULL, ZEND_FE_FREE, &reset_node, NULL); in zend_compile_foreach()
6267 opline = zend_emit_op(NULL, in zend_compile_switch()
6301 opline = zend_emit_op(NULL, in zend_compile_switch()
6361 opline = zend_emit_op(NULL, ZEND_FREE, &expr_node, NULL); in zend_compile_switch()
6456 zend_op *opline = zend_emit_op(NULL, ZEND_MATCH, &expr_node, &jumptable_op); in zend_compile_match()
6479 zend_op *opline = zend_emit_op(NULL, opcode, &expr_node, &cond_node); in zend_compile_match()
6513 zend_op *opline = zend_emit_op(NULL, ZEND_MATCH_ERROR, &expr_node, NULL); in zend_compile_match()
6571 zend_op *opline_qm_assign = zend_emit_op(NULL, ZEND_QM_ASSIGN, &body_node, NULL); in zend_compile_match()
6589 zend_op *opline = zend_emit_op(NULL, ZEND_FREE, &expr_node, NULL); in zend_compile_match()
6623 zend_emit_op(NULL, ZEND_NOP, NULL, NULL); in zend_compile_try()
6743 opline = zend_emit_op(NULL, ZEND_FAST_CALL, NULL, NULL); in zend_compile_try()
6748 zend_emit_op(NULL, ZEND_JMP, NULL, NULL); in zend_compile_try()
6756 opline = zend_emit_op(NULL, ZEND_FAST_RET, NULL, NULL); in zend_compile_try()
7713 opline = zend_emit_op(NULL, opcode, NULL, &default_node); in zend_compile_params()
7834 zend_op *opline = zend_emit_op(NULL, in zend_compile_params()
7878 opline = zend_emit_op(NULL, ZEND_BIND_LEXICAL, closure, NULL); in zend_compile_closure_binding()
7981 opline = zend_emit_op(NULL, ZEND_BIND_LEXICAL, closure, NULL); in compile_implicit_lexical_binds()
8343 zend_emit_op(NULL, ZEND_GENERATOR_CREATE, NULL, NULL); in zend_compile_func_decl_ex()
9450 zend_emit_op(NULL, ZEND_DECLARE_CONST, &name_node, &value_node); in zend_compile_const_decl()
10106 opline_jmpz = zend_emit_op(NULL, ast->kind == ZEND_AST_AND ? ZEND_JMPZ_EX : ZEND_JMPNZ_EX, in zend_compile_short_circuiting()
10118 opline_bool = zend_emit_op(NULL, ZEND_BOOL, &right_node, NULL); in zend_compile_short_circuiting()
10278 opline_qm_assign2 = zend_emit_op(NULL, ZEND_QM_ASSIGN, &false_node, NULL); in zend_compile_conditional()
10405 zend_emit_op(NULL, ZEND_FREE, node, NULL); in zend_compile_assign_coalesce()
10428 opline = zend_emit_op(NULL, ZEND_ECHO, &expr_node, NULL); in zend_compile_print()
10463 opline = zend_emit_op(result, ZEND_YIELD, value_node_ptr, key_node_ptr); in zend_compile_yield()
10529 opline = zend_emit_op(result, ZEND_INCLUDE_OR_EVAL, &expr_node, NULL); in zend_compile_include_or_eval()
10584 opline = zend_emit_op(result, ZEND_ISSET_ISEMPTY_THIS, NULL, NULL); in zend_compile_isset_or_empty()
10587 opline = zend_emit_op(result, ZEND_ISSET_ISEMPTY_CV, &var_node, NULL); in zend_compile_isset_or_empty()
10631 zend_emit_op(NULL, ZEND_END_SILENCE, &silence_node, NULL); in zend_compile_silence()
10686 opline = zend_emit_op(NULL, ZEND_ADD_ARRAY_UNPACK, &value_node, NULL); in zend_compile_array()
10712 opline = zend_emit_op(NULL, ZEND_ADD_ARRAY_ELEMENT, in zend_compile_array()