Home
last modified time | relevance | path

Searched refs:num_pos_args (Results 1 – 5 of 5) sorted by relevance

/AliOS-Things-master/components/py_engine/engine/py/
A Dscope.h82 uint16_t num_pos_args; member
A Demitnative.c380 mp_uint_t num_args = emit->scope->num_pos_args + emit->scope->num_kwonly_args; in emit_native_start_pass()
434 if (scope->num_pos_args >= 4) { in emit_native_start_pass()
479 ASM_MOV_REG_IMM(emit->as, REG_ARG_3, scope->num_pos_args); in emit_native_start_pass()
482 …MOV_REG_IMM(emit->as, REG_ARG_3, MP_OBJ_FUN_MAKE_SIG(scope->num_pos_args, scope->num_pos_args, fal… in emit_native_start_pass()
487 for (int i = 0; i < emit->scope->num_pos_args; i++) { in emit_native_start_pass()
502 if (emit->scope->num_pos_args >= 4 && CAN_USE_REGS_FOR_LOCALS(emit)) { in emit_native_start_pass()
635 for (int i = 0; i < scope->num_pos_args + scope->num_kwonly_args; i++) { in emit_native_start_pass()
694 size_t table_off = emit->scope->num_pos_args + emit->scope->num_kwonly_args + 1; in emit_native_end_pass()
717 nqstr = emit->scope->num_pos_args + emit->scope->num_kwonly_args; in emit_native_end_pass()
747 emit->scope->num_pos_args, emit->scope->scope_flags, 0); in emit_native_end_pass()
[all …]
A Demitbc.c249 emit->scope->num_pos_args + emit->scope->num_kwonly_args in emit_write_bytecode_byte_obj()
265 emit->scope->num_pos_args + emit->scope->num_kwonly_args in emit_write_bytecode_byte_raw_code()
377 for (int i = 0; i < scope->num_pos_args + scope->num_kwonly_args; i++) { in mp_emit_bc_start_pass()
433 emit->scope->num_pos_args + emit->scope->num_kwonly_args in mp_emit_bc_end_pass()
437 emit->scope->num_pos_args + emit->scope->num_kwonly_args); in mp_emit_bc_end_pass()
A Dbc.h78 size_t A = scope->num_pos_args; \
A Dcompile.c2906 comp->scope_cur->num_pos_args += 1; in compile_scope_func_lambda_param()
2919 comp->scope_cur->num_pos_args += 1; in compile_scope_func_lambda_param()
3157 scope->num_pos_args = 1; in compile_scope()
3256 scope->num_pos_args = EMIT_INLINE_ASM_ARG(count_params, n_params, pn_params); in compile_scope_inline_asm()
3392 comp->scope_cur->num_pos_args, 0, type_sig); in compile_scope_inline_asm()
3491 …scope->num_pos_args += num_free; // free vars are counted as params for passing them into the func… in scope_compute_things()

Completed in 20 milliseconds