aboutsummaryrefslogtreecommitdiff
path: root/py/objfun.c
AgeCommit message (Expand)Author
2022-05-17py/bc: Provide separate code-state setup funcs for bytecode and native.Damien George
2022-05-03all: Use mp_obj_malloc everywhere it's applicable.Jim Mussared
2022-02-24py: Rework bytecode and .mpy file format to be mostly static data.Damien George
2022-01-23all: Fix MICROPY_OBJ_REPR_D compilation with msvc.stijn
2021-06-25py: Mark unused arguments from bytecode decoding macros.Damien George
2021-01-29py/objfun: Support fun.__globals__ attribute.Damien George
2020-06-30py: Rework mp_convert_member_lookup to properly handle built-ins.Damien George
2020-06-14tools/codeformat.py: Remove sizeof fixup.David Lechner
2020-03-11tools/codeformat.py: Eliminate need for sizeof fixup.David Lechner
2020-02-28all: Reformat C and Python source code with tools/codeformat.py.Damien George
2020-02-28py: Removing dangling "else" to improve code format consistency.Damien George
2020-01-09py: Make mp_obj_get_type() return a const ptr to mp_obj_type_t.Damien George
2019-10-01py: Rework and compress second part of bytecode prelude.Damien George
2019-10-01py: Compress first part of bytecode prelude.Damien George
2019-10-01py: Add n_state to mp_code_state_t struct.Damien George
2019-08-06py: Allow to pass in read-only buffers to viper and inline-asm funcs.Damien George
2019-05-06py: remove "if (0)" and "if (false)" branches.Jun Wu
2019-03-14py/nativeglue: Rename native convert funs to match other native helpers.Damien George
2019-02-20py/objfun: Make fun_data arg of mp_obj_new_fun_asm() a const pointer.Damien George
2019-02-12py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API.Damien George
2019-01-04py: Fix location of VM returned exception in invalid opcode and commentsDamien George
2019-01-04py: Get optional VM stack overflow check compiling and working again.Damien George
2018-10-01py/emitnative: Implement yield and yield-from in native emitter.Damien George
2018-09-29py/vm: When VM raises exception put exc obj at beginning of func state.Damien George
2018-09-15py: Make viper functions have the same entry signature as native.Damien George
2018-09-14py: Optimise call to mp_arg_check_num by compressing fun signature.Damien George
2018-08-02py: Fix compiling with debug enabled and make more use of DEBUG_printf.Damien George
2018-07-10py/objgenerator: Implement __name__ with normal fun attr accessor code.Damien George
2018-05-17py/objfun: Fix variable name in DECODE_CODESTATE_SIZE() macro.Tom Collins
2017-12-11py: Convert all uses of alloca() to use new scoped allocation API.Damien George
2017-12-09py/objfun: Factor out macro for initializing codestate.Paul Sokolovsky
2017-12-09py/objfun, vm: Add comments on codestate allocation in stackless mode.Paul Sokolovsky
2017-12-09py/objfun: Factor out macro for decoding codestate size.Paul Sokolovsky
2017-10-04all: Remove inclusion of internal py header files.Damien George
2017-08-15py: Add verbose debug compile-time flag MICROPY_DEBUG_VERBOSE.Stefan Naumann
2017-07-31all: Use the name MicroPython consistently in commentsAlexander Steffen
2017-06-09py: Provide mp_decode_uint_skip() to help reduce stack usage.Damien George
2017-03-29py: Change mp_uint_t to size_t for mp_obj_str_get_data len arg.Damien George
2017-03-29py: Convert mp_uint_t to size_t for tuple/list accessors.Damien George
2017-03-17py: Reduce size of mp_code_state_t structure.Damien George
2017-03-07py: Use mp_obj_get_array where sequence may be a tuple or a list.Krzysztof Blazewicz
2017-02-16py/objfun: Convert mp_uint_t to size_t where appropriate.Damien George
2016-12-09py: Allow inline-assembler emitter to be generic.Damien George
2016-10-21py: Specialise builtin funcs to use separate type for fixed arg count.Damien George
2016-09-27py/objfun: Use if instead of switch to check return value of VM execute.Damien George
2016-09-27py/objfun: Remove unnecessary check for viper fun with 5 or more args.Damien George
2016-08-27py: Rename struct mp_code_state to mp_code_state_t.Damien George
2016-03-16py/objfun: Allow inline-asm functions to be called with 4 arguments.Damien George
2016-02-02py: Extend native type-sig to use 4 bits, so uint is separate to ptr.Damien George
2016-01-27py/inlineasm: Add ability to specify return type of asm_thumb funcs.Damien George