Lines Matching refs:self_fun
55 mp_obj_fun_bc_t *self_fun = MP_OBJ_TO_PTR(self_in); in gen_wrap_call() local
58 const uint8_t *ip = self_fun->bytecode; in gen_wrap_call()
67 o->code_state.fun_bc = self_fun; in gen_wrap_call()
92 mp_obj_fun_bc_t *self_fun = MP_OBJ_TO_PTR(self_in); in native_gen_wrap_call() local
95 uintptr_t prelude_offset = ((uintptr_t *)self_fun->bytecode)[0]; in native_gen_wrap_call()
98 mp_obj_str_t *prelude_bytes = MP_OBJ_TO_PTR(self_fun->const_table[prelude_offset]); in native_gen_wrap_call()
99 prelude_offset = (const byte *)prelude_bytes->data - self_fun->bytecode; in native_gen_wrap_call()
101 const uint8_t *ip = self_fun->bytecode + prelude_offset; in native_gen_wrap_call()
113 o->code_state.fun_bc = self_fun; in native_gen_wrap_call()
122 uintptr_t start_offset = ((uintptr_t *)self_fun->bytecode)[1]; in native_gen_wrap_call()
123 o->code_state.ip = MICROPY_MAKE_POINTER_CALLABLE((void *)(self_fun->bytecode + start_offset)); in native_gen_wrap_call()