311 Commits (58f63497e5ee4d7915ea23929dad7d59712b7c01)

Author SHA1 Message Date
Damien George d54208a2ff py/scheduler: Implement VM abort flag and mp_sched_vm_abort(). 2 years ago
Damien George b878fc042f py/vm: Consistently indent #if guards to match the code they surround. 2 years ago
Damien George 893a5c8341 py/vm: In YIELD_FROM opcode, expand helper macros and remove them. 2 years ago
Damien George d84220b8c6 py/vm: Remove check for ip being NULL when handling StopIteration. 2 years ago
Jim Mussared 158f1794e8 py/vm: Document internal SELECTIVE_EXC_IP option. 2 years ago
Jim Mussared 8db99f11a7 py/scheduler: De-inline and fix race with pending exception / scheduler. 2 years ago
Damien George 0db046b67b py/vm: Change comparison for finally handler search from > to >=. 2 years ago
David Lechner 783b1a868f py/runtime: Allow multiple *args in a function call. 5 years ago
David Lechner 1e99d29f36 py/runtime: Allow multiple **args in a function call. 5 years ago
Damien George bb70874111 py/vm: Prevent array bound warning when using -MP_OBJ_ITER_BUF_NSLOTS. 3 years ago
Damien George 6d11c69983 py: Change jump-if-x-or-pop opcodes to have unsigned offset argument. 3 years ago
Damien George 538c3c0a55 py: Change jump opcodes to emit 1-byte jump offset when possible. 3 years ago
Damien George 1692cad673 py/showbc: Remove global variables and make DECODE_PTR work correctly. 3 years ago
Damien George f2040bfc7e py: Rework bytecode and .mpy file format to be mostly static data. 3 years ago
Damien George 8412568e7b py: Add wrapper macros so hot VM functions can go in fast code location. 3 years ago
Jim Mussared b326edf68c all: Remove MICROPY_OPT_CACHE_MAP_LOOKUP_IN_BYTECODE. 3 years ago
Jim Mussared 7b89ad8dbf py/vm: Add a fast path for LOAD_ATTR on instance types. 3 years ago
Damien George b8255dd2e0 py/vm: Simplify handling of MP_OBJ_STOP_ITERATION in yield-from opcode. 3 years ago
Jeff Epler 413f34cd8f all: Fix signed shifts and NULL access errors from -fsanitize=undefined. 3 years ago
David Lechner ca920f7218 py/mpstate: Make exceptions thread-local. 4 years ago
Damien George 42cf77f48b py/vm: For tracing use mp_printf, and print state when thread enabled. 4 years ago
Damien George 85f2b239d8 py/showbc: Pass in an mp_print_t struct to all bytecode-print functions. 4 years ago
Jim Mussared 243805d776 py/scheduler: Fix race in checking scheduler pending state. 5 years ago
Jim Mussared def76fe4d9 all: Use MP_ERROR_TEXT for all error messages. 5 years ago
Damien George 3f39d18c2b all: Add *FORMAT-OFF* in various places. 5 years ago
Damien George 95473980ef py/vm: Fix comment to refer to MP_BC_RAISE_OBJ instead of RAISE_VARARGS. 5 years ago
Damien George 809d89c794 py/runtime: Fix PEP479 behaviour throwing StopIteration into yield from. 5 years ago
Damien George 82c494a97e py/vm: Fix handling of unwind jump out of active finally. 5 years ago
Damien George c8c0fd4ca3 py: Rework and compress second part of bytecode prelude. 5 years ago
Damien George b5ebfadbd6 py: Compress first part of bytecode prelude. 5 years ago
Damien George 81d04a0200 py: Add n_state to mp_code_state_t struct. 5 years ago
Damien George 4c5e1a0368 py/bc: Change mp_code_state_t.exc_sp to exc_sp_idx. 5 years ago
Damien George 02db91a7a3 py: Split RAISE_VARARGS opcode into 3 separate ones. 5 years ago
Damien George 870e900d02 py: Introduce and use constants for multi-opcode sizes. 5 years ago
Damien George ea060a42e9 py/vm: Factor cached map lookup code to inline function. 5 years ago
Milan Rossa 310b3d1b81 py: Integrate sys.settrace feature into the VM and runtime. 5 years ago
Damien George dbf35d3da3 py/bc: Factor out code to get bytecode line number info into new func. 5 years ago
Damien George 08c1fe5569 py/vm: Don't add traceback info for exceptions that are re-raised. 5 years ago
Damien George 16f6169c88 py/vm: Don't add traceback info for exc's propagated through a finally. 5 years ago
Damien George 2fca0d7f18 py/vm: Shorten error message for not-implemented opcode. 5 years ago
Damien George ab26553759 py/vm: Remove obsolete comments about matching of exception opcodes. 6 years ago
Damien George 5a2599d962 py: Replace POP_BLOCK and POP_EXCEPT opcodes with POP_EXCEPT_JUMP. 6 years ago
Damien George 6f9e3ff719 py/vm: Remove currently_in_except_block variable. 6 years ago
Damien George e1fb03f3e2 py: Fix VM crash with unwinding jump out of a finally block. 6 years ago
Damien George eee1e8841a py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API. 6 years ago
Paul Sokolovsky 8fea833e3f py: Update my copyright info on some files. 6 years ago
Paul Sokolovsky 2f5d113fad py/warning: Support categories for warnings. 6 years ago
Damien George afecc124e6 py: Fix location of VM returned exception in invalid opcode and comments 6 years ago
Damien George d95947b48a py/vm: When VM raises exception put exc obj at beginning of func state. 6 years ago
Damien George 0c9d452370 py/vm: Fix case of throwing GeneratorExit type into yield-from. 6 years ago