291 Commits (85c51a548fc83d0776029b01b1be3748f82e296a)

Author SHA1 Message Date
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
Damien George 6d20be31ae py/vm: Reword TODO about invalid ip/sp after an exception to a note. 6 years ago
Damien George 76355c8863 py/vm: Make small optimisation of BUILD_SLICE opcode. 6 years ago
Damien George b735208403 py/vm: Fix handling of finally-return with complex nested finallys. 6 years ago
Damien George bace1a16d0 py/objtype: Don't expose mp_obj_instance_attr(). 7 years ago
Damien George 869024dd6e py/vm: Improve performance of opcode dispatch when using switch stmt. 7 years ago
Damien George 46ce395130 py/vm: Use enum names instead of magic numbers in multi-opcode dispatch. 7 years ago
Damien George 1b7487e519 py/vm: Adjust #if logic for gil_divisor so braces are balanced. 7 years ago
Damien George bc36521386 py/vm: Optimise handling of stackless mode when pystack is enabled. 7 years ago
Damien George c7f880eda3 py/vm: Don't do unnecessary updates of ip and sp variables. 7 years ago
Damien George a9f6d49218 py/vm: Simplify handling of special-case STOP_ITERATION in yield from. 7 years ago
Damien George 22ade2f5c4 py/vm: Fix case of handling raised StopIteration within yield from. 7 years ago
Damien George 73d1d20b46 py/objexcept: Remove long-obsolete mp_const_MemoryError_obj. 7 years ago
Damien George 0c650d4276 py/vm: Simplify stack sentinel values for unwind return and jump. 7 years ago
Damien George 30fd8484eb py/runtime: Use the Python stack when building *arg and **kwarg state. 7 years ago
Damien George 1e5a33df41 py: Convert all uses of alloca() to use new scoped allocation API. 7 years ago
Damien George 5b8998da6d py/runtime: Move mp_exc_recursion_depth to runtime and rename to raise. 7 years ago
Paul Sokolovsky d72370def7 py/objfun, vm: Add comments on codestate allocation in stackless mode. 7 years ago
Damien George a3dc1b1957 all: Remove inclusion of internal py header files. 7 years ago
Damien George e2ba45c35f py/vm: Use lowercase letter at start of exception message. 7 years ago
Alexander Steffen 55f33240f3 all: Use the name MicroPython consistently in comments 7 years ago