summaryrefslogtreecommitdiff
path: root/py/vm.c
AgeCommit message (Expand)Author
2024-02-16py/emitglue: Introduce mp_proto_fun_t as a more general mp_raw_code_t.Damien George
2023-10-09py/vm: Don't emit warning when using "raise ... from None".Matthias Urlichs
2023-03-21py/scheduler: Implement VM abort flag and mp_sched_vm_abort().Damien George
2022-07-12py/vm: Consistently indent #if guards to match the code they surround.Damien George
2022-07-12py/vm: In YIELD_FROM opcode, expand helper macros and remove them.Damien George
2022-07-12py/vm: Remove check for ip being NULL when handling StopIteration.Damien George
2022-07-12py/vm: Document internal SELECTIVE_EXC_IP option.Jim Mussared
2022-07-12py/scheduler: De-inline and fix race with pending exception / scheduler.Jim Mussared
2022-06-20py/vm: Change comparison for finally handler search from > to >=.Damien George
2022-03-31py/runtime: Allow multiple *args in a function call.David Lechner
2022-03-31py/runtime: Allow multiple **args in a function call.David Lechner
2022-03-31py/vm: Prevent array bound warning when using -MP_OBJ_ITER_BUF_NSLOTS.Damien George
2022-03-28py: Change jump-if-x-or-pop opcodes to have unsigned offset argument.Damien George
2022-03-28py: Change jump opcodes to emit 1-byte jump offset when possible.Damien George
2022-03-16py/showbc: Remove global variables and make DECODE_PTR work correctly.Damien George
2022-02-24py: Rework bytecode and .mpy file format to be mostly static data.Damien George
2021-10-15py: Add wrapper macros so hot VM functions can go in fast code location.Damien George
2021-09-16all: Remove MICROPY_OPT_CACHE_MAP_LOOKUP_IN_BYTECODE.Jim Mussared
2021-09-16py/vm: Add a fast path for LOAD_ATTR on instance types.Jim Mussared
2021-07-15py/vm: Simplify handling of MP_OBJ_STOP_ITERATION in yield-from opcode.Damien George
2021-06-24all: Fix signed shifts and NULL access errors from -fsanitize=undefined.Jeff Epler
2021-06-19py/mpstate: Make exceptions thread-local.David Lechner
2021-03-17py/vm: For tracing use mp_printf, and print state when thread enabled.Damien George
2020-09-11py/showbc: Pass in an mp_print_t struct to all bytecode-print functions.Damien George
2020-04-13py/scheduler: Fix race in checking scheduler pending state.Jim Mussared
2020-04-05all: Use MP_ERROR_TEXT for all error messages.Jim Mussared
2020-02-28all: Add *FORMAT-OFF* in various places.Damien George
2019-12-20py/vm: Fix comment to refer to MP_BC_RAISE_OBJ instead of RAISE_VARARGS.Damien George
2019-10-04py/runtime: Fix PEP479 behaviour throwing StopIteration into yield from.Damien George
2019-10-04py/vm: Fix handling of unwind jump out of active finally.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-10-01py/bc: Change mp_code_state_t.exc_sp to exc_sp_idx.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-09-10py/vm: Factor cached map lookup code to inline function.Damien George
2019-08-30py: Integrate sys.settrace feature into the VM and runtime.Milan Rossa
2019-08-30py/bc: Factor out code to get bytecode line number info into new func.Damien George
2019-08-28py/vm: Don't add traceback info for exceptions that are re-raised.Damien George
2019-08-28py/vm: Don't add traceback info for exc's propagated through a finally.Damien George
2019-08-22py/vm: Shorten error message for not-implemented opcode.Damien George
2019-05-27py/vm: Remove obsolete comments about matching of exception opcodes.Damien George
2019-03-05py: Replace POP_BLOCK and POP_EXCEPT opcodes with POP_EXCEPT_JUMP.Damien George
2019-03-05py/vm: Remove currently_in_except_block variable.Damien George
2019-03-05py: Fix VM crash with unwinding jump out of a finally block.Damien George
2019-02-12py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API.Damien George
2019-02-06py: Update my copyright info on some files.Paul Sokolovsky
2019-01-31py/warning: Support categories for warnings.Paul Sokolovsky
2019-01-04py: Fix location of VM returned exception in invalid opcode and commentsDamien George