summaryrefslogtreecommitdiffstatshomepage
path: root/py/emitbc.c
Commit message (Expand)AuthorAge
* all: Fix spelling mistakes based on codespell check.Damien George2023-04-27
* py/emit: Suppress unreachable bytecode/native code that follows jump.Damien George2022-06-20
* py/emit: Remove logic to detect last-emit-was-return-value.Damien George2022-06-20
* py/compile: De-duplicate constant objects in module's constant table.Damien George2022-05-18
* py/emitbc: Assert that a small int fits its encoding when emitting one.Damien George2022-03-31
* py/runtime: Allow multiple **args in a function call.David Lechner2022-03-31
* py: Change jump-if-x-or-pop opcodes to have unsigned offset argument.Damien George2022-03-28
* py/emitbc: Add check for bytecode jump offset overflow.Damien George2022-03-28
* py: Change jump opcodes to emit 1-byte jump offset when possible.Damien George2022-03-28
* py: Rework bytecode and .mpy file format to be mostly static data.Damien George2022-02-24
* all: Remove MICROPY_OPT_CACHE_MAP_LOOKUP_IN_BYTECODE.Jim Mussared2021-09-16
* all: Rename BYTES_PER_WORD to MP_BYTES_PER_OBJ_WORD.Damien George2021-02-04
* all: Format code to add space after C++-style comment start.stijn2020-04-23
* all: Reformat C and Python source code with tools/codeformat.py.Damien George2020-02-28
* py: Remove commented-out debug printf's from emitbc and objlist.Damien George2019-12-20
* py: Rework and compress second part of bytecode prelude.Damien George2019-10-01
* py: Compress first part of bytecode prelude.Damien George2019-10-01
* py: Split RAISE_VARARGS opcode into 3 separate ones.Damien George2019-09-26
* py: Introduce and use constants for multi-opcode sizes.Damien George2019-09-26
* py: Integrate sys.settrace feature into the VM and runtime.Milan Rossa2019-08-30
* py/emitbc: Make all emit_write_bytecode_* funcs take a stack_adj arg.Damien George2019-08-22
* py/emitbc: Rewrite switch in load_const_tok to reduce code size.Damien George2019-08-22
* py/compile: Add support to select the native emitter at runtime.Damien George2019-03-14
* py: Replace POP_BLOCK and POP_EXCEPT opcodes with POP_EXCEPT_JUMP.Damien George2019-03-05
* py: Fix VM crash with unwinding jump out of a finally block.Damien George2019-03-05
* py: Get optional VM stack overflow check compiling and working again.Damien George2019-01-04
* py/emit: Completely remove set_native_type, arg type is set in compiler.Damien George2018-09-15
* py/emit: Combine setup with/except/finally into one emit function.Damien George2018-05-23
* py/emit: Merge build set/slice into existing build emit function.Damien George2018-05-23
* py/emit: Combine import from/name/star into one emit function.Damien George2018-05-23
* py/emit: Combine break_loop and continue_loop into one emit function.Damien George2018-05-23
* py/emit: Combine load/store/delete attr into one emit function.Damien George2018-05-23
* py/emit: Combine load/store/delete subscr into one emit function.Damien George2018-05-23
* py/emit: Combine name and global into one func for load/store/delete.Damien George2018-05-23
* py/emit: Combine build tuple/list/map emit funcs into one.Damien George2018-05-23
* py/emit: Combine yield value and yield-from emit funcs into one.Damien George2018-05-23
* py/emit: Combine fast and deref into one function for load/store/delete.Damien George2018-05-23
* py/emitbc: Avoid undefined behavior calling memset() with NULL 1st arg.Jeff Epler2018-05-21
* py/emitglue: When assigning bytecode only pass bytecode len if needed.Damien George2018-02-14
* py/{emitbc,asmbase}: Only clear emit labels to -1 when in debug mode.Damien George2017-12-08
* py/emitbc: Remove stray semicolon in outer scope.Damien George2017-09-13
* all: Use the name MicroPython consistently in commentsAlexander Steffen2017-07-31
* py,extmod: Some casts and minor refactors to quiet compiler warnings.Tom Collins2017-07-07
* py/emitbc: Fix bug with BC emitter computing Python stack size.Damien George2017-05-25
* py: Add LOAD_SUPER_METHOD bytecode to allow heap-free super meth calls.Damien George2017-04-22
* py: Define and use MP_OBJ_ITER_BUF_NSLOTS to get size of stack iter buf.Damien George2017-03-23
* py: Remove unused "use_stack" argument from for_iter_end emit function.Damien George2017-02-16
* py: Optimise storage of iterator so it takes only 4 slots on Py stack.Damien George2017-02-16
* py: Make FOR_ITER opcode pop 1+4 slots from the stack when finished.Damien George2017-02-16
* py: Allow bytecode/native to put iter_buf on stack for simple for loops.Damien George2017-02-16