286 Commits (7679e3be96f7e0996faa89678beaf423d7c25999)

Author SHA1 Message Date
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
Damien George 016325dd0a py/vm: Make n_state variable local to just set-up part of VM. 7 years ago
Damien George 9ed5e80eea py/vm: Make "if" control flow more obvious in YIELD_FROM opcode. 7 years ago
Damien George a8a5d1e8c8 py: Provide mp_decode_uint_skip() to help reduce stack usage. 8 years ago
Ville Skyttä ca16c38210 various: Spelling fixes 8 years ago
Damien George 04d05db27e py/vm: Fix bug with unwind jump popping the iterator from a for loop. 8 years ago