Home
last modified time | relevance | path

Searched refs:self_fun (Results 1 – 2 of 2) sorted by relevance

/AliOS-Things-master/components/py_engine/engine/py/
A Dobjgenerator.c55 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()
[all …]
A Demitglue.c211 mp_obj_fun_bc_t *self_fun = (mp_obj_fun_bc_t *)MP_OBJ_TO_PTR(fun); in mp_make_function_from_raw_code() local
212 self_fun->rc = rc; in mp_make_function_from_raw_code()

Completed in 4 milliseconds