aboutsummaryrefslogtreecommitdiff
path: root/py/emitbc.c
AgeCommit message (Expand)Author
2022-05-18py/compile: De-duplicate constant objects in module's constant table.Damien George
2022-03-31py/emitbc: Assert that a small int fits its encoding when emitting one.Damien George
2022-03-31py/runtime: Allow multiple **args in a function call.David Lechner
2022-03-28py: Change jump-if-x-or-pop opcodes to have unsigned offset argument.Damien George
2022-03-28py/emitbc: Add check for bytecode jump offset overflow.Damien George
2022-03-28py: Change jump opcodes to emit 1-byte jump offset when possible.Damien George
2022-02-24py: Rework bytecode and .mpy file format to be mostly static data.Damien George
2021-09-16all: Remove MICROPY_OPT_CACHE_MAP_LOOKUP_IN_BYTECODE.Jim Mussared
2021-02-04all: Rename BYTES_PER_WORD to MP_BYTES_PER_OBJ_WORD.Damien George
2020-04-23all: Format code to add space after C++-style comment start.stijn
2020-02-28all: Reformat C and Python source code with tools/codeformat.py.Damien George
2019-12-20py: Remove commented-out debug printf's from emitbc and objlist.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-09-26py: Split RAISE_VARARGS opcode into 3 separate ones.Damien George
2019-09-26py: Introduce and use constants for multi-opcode sizes.Damien George
2019-08-30py: Integrate sys.settrace feature into the VM and runtime.Milan Rossa
2019-08-22py/emitbc: Make all emit_write_bytecode_* funcs take a stack_adj arg.Damien George
2019-08-22py/emitbc: Rewrite switch in load_const_tok to reduce code size.Damien George
2019-03-14py/compile: Add support to select the native emitter at runtime.Damien George
2019-03-05py: Replace POP_BLOCK and POP_EXCEPT opcodes with POP_EXCEPT_JUMP.Damien George
2019-03-05py: Fix VM crash with unwinding jump out of a finally block.Damien George
2019-01-04py: Get optional VM stack overflow check compiling and working again.Damien George
2018-09-15py/emit: Completely remove set_native_type, arg type is set in compiler.Damien George
2018-05-23py/emit: Combine setup with/except/finally into one emit function.Damien George
2018-05-23py/emit: Merge build set/slice into existing build emit function.Damien George
2018-05-23py/emit: Combine import from/name/star into one emit function.Damien George
2018-05-23py/emit: Combine break_loop and continue_loop into one emit function.Damien George
2018-05-23py/emit: Combine load/store/delete attr into one emit function.Damien George
2018-05-23py/emit: Combine load/store/delete subscr into one emit function.Damien George
2018-05-23py/emit: Combine name and global into one func for load/store/delete.Damien George
2018-05-23py/emit: Combine build tuple/list/map emit funcs into one.Damien George
2018-05-23py/emit: Combine yield value and yield-from emit funcs into one.Damien George
2018-05-23py/emit: Combine fast and deref into one function for load/store/delete.Damien George
2018-05-21py/emitbc: Avoid undefined behavior calling memset() with NULL 1st arg.Jeff Epler
2018-02-14py/emitglue: When assigning bytecode only pass bytecode len if needed.Damien George
2017-12-08py/{emitbc,asmbase}: Only clear emit labels to -1 when in debug mode.Damien George
2017-09-13py/emitbc: Remove stray semicolon in outer scope.Damien George
2017-07-31all: Use the name MicroPython consistently in commentsAlexander Steffen
2017-07-07py,extmod: Some casts and minor refactors to quiet compiler warnings.Tom Collins
2017-05-25py/emitbc: Fix bug with BC emitter computing Python stack size.Damien George
2017-04-22py: Add LOAD_SUPER_METHOD bytecode to allow heap-free super meth calls.Damien George
2017-03-23py: Define and use MP_OBJ_ITER_BUF_NSLOTS to get size of stack iter buf.Damien George
2017-02-16py: Remove unused "use_stack" argument from for_iter_end emit function.Damien George
2017-02-16py: Optimise storage of iterator so it takes only 4 slots on Py stack.Damien George
2017-02-16py: Make FOR_ITER opcode pop 1+4 slots from the stack when finished.Damien George
2017-02-16py: Allow bytecode/native to put iter_buf on stack for simple for loops.Damien George
2017-02-10py/emitbc: Produce correct line number info for large bytecode chunks.Damien George
2016-10-31py: remove asserts that are always true in emitbc.cPavol Rusnak
2016-09-27py/emitbc: Remove/refactor unreachable code, to improve coverage.Damien George