266 Commits (8fea833e3fefe1af94562b2a72c0e154d42424c6)

Author SHA1 Message Date
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
Damien George 68e71eacb8 py/vm: Fix bug with stackless mode and unwinding of exceptions. 8 years ago
Damien George dd11af209d py: Add LOAD_SUPER_METHOD bytecode to allow heap-free super meth calls. 8 years ago
Damien George a0973b09ce py/vm: Fix VM opcode tracing to print correct stack pointer. 8 years ago
Damien George 707f16b05c py: Use mp_locals/mp_globals accessor funcs instead of MP_STATE_CTX. 8 years ago
Damien George 60656eaea4 py: Define and use MP_OBJ_ITER_BUF_NSLOTS to get size of stack iter buf. 8 years ago
Damien George 1a5c8d1053 py/vm: Don't release the GIL if the scheduler is locked. 8 years ago
Damien George 6e74d24f30 py: Add micropython.schedule() function and associated runtime code. 8 years ago
Damien George 5640e6dacd py: Provide mp_decode_uint_value to help optimise stack usage. 8 years ago
Damien George 71a3d6ec3b py: Reduce size of mp_code_state_t structure. 8 years ago
Damien George 088740ecc4 py: Optimise storage of iterator so it takes only 4 slots on Py stack. 8 years ago
Damien George 6e769da0da py: Make FOR_ITER opcode pop 1+4 slots from the stack when finished. 8 years ago
Damien George f4df3aaa72 py: Allow bytecode/native to put iter_buf on stack for simple for loops. 9 years ago
Damien George ae8d867586 py: Add iter_buf to getiter type method. 9 years ago
Damien George 101886f529 py/vm: Convert mp_uint_t to size_t where appropriate. 8 years ago
Damien George f6c22a0679 py/vm: Add MICROPY_PY_THREAD_GIL_VM_DIVISOR option. 8 years ago
Damien George cc4c1adf6e py/showbc: Make sure to set the const_table before printing bytecode. 8 years ago
Damien George 71fec076dc py/vm: Use MP_OBJ_FROM_PTR to cast a type to an object. 8 years ago
Damien George f040685b0c py: Only store the exception instance on Py stack in bytecode try block. 8 years ago
Damien George adaf0d865c py: Combine 3 comprehension opcodes (list/dict/set) into 1. 8 years ago
Damien George 581a59a456 py: Rename struct mp_code_state to mp_code_state_t. 8 years ago