aboutsummaryrefslogtreecommitdiff
path: root/py/vm.c
AgeCommit message (Expand)Author
2017-04-22py: Add LOAD_SUPER_METHOD bytecode to allow heap-free super meth calls.Damien George
2017-03-27py/vm: Fix VM opcode tracing to print correct stack pointer.Damien George
2017-03-24py: Use mp_locals/mp_globals accessor funcs instead of MP_STATE_CTX.Damien George
2017-03-23py: Define and use MP_OBJ_ITER_BUF_NSLOTS to get size of stack iter buf.Damien George
2017-03-20py/vm: Don't release the GIL if the scheduler is locked.Damien George
2017-03-20py: Add micropython.schedule() function and associated runtime code.Damien George
2017-03-17py: Provide mp_decode_uint_value to help optimise stack usage.Damien George
2017-03-17py: Reduce size of mp_code_state_t structure.Damien George
2017-02-16py: Optimise storage of iterator so it takes only 4 slots on Py stack.Damien George
2017-02-16py: Make FOR_ITER opcode pop 1+4 slots from the stack when finished.Damien George
2017-02-16py: Allow bytecode/native to put iter_buf on stack for simple for loops.Damien George
2017-02-16py: Add iter_buf to getiter type method.Damien George
2017-02-16py/vm: Convert mp_uint_t to size_t where appropriate.Damien George
2017-02-15py/vm: Add MICROPY_PY_THREAD_GIL_VM_DIVISOR option.Damien George
2017-01-27py/showbc: Make sure to set the const_table before printing bytecode.Damien George
2016-09-27py/vm: Use MP_OBJ_FROM_PTR to cast a type to an object.Damien George
2016-09-27py: Only store the exception instance on Py stack in bytecode try block.Damien George
2016-09-19py: Combine 3 comprehension opcodes (list/dict/set) into 1.Damien George
2016-08-27py: Rename struct mp_code_state to mp_code_state_t.Damien George
2016-06-28py: Implement a simple global interpreter lock.Damien George
2016-04-28py/vm: "yield from" didn't handle MP_OBJ_STOP_ITERATION optimization.Paul Sokolovsky
2016-02-17py/vm: Add macros to hook into various points in the VM.Damien George
2016-02-01py/vm: Fix popping of exception block in UNWIND_JUMP opcode.Damien George
2016-01-02py: Change exception traceback data to use size_t instead of mp_uint_t.Damien George
2015-12-24py: Handle case of return within the finally block of try-finally.Damien George
2015-12-17py: Fix MICROPY_STACKLESS mode to compile with MICROPY_OBJ_REPR_D.Damien George
2015-12-10py: Make UNARY_OP_NOT a first-class op, to agree with Py not semantics.Damien George
2015-11-29py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR.Damien George
2015-11-13py: Add MICROPY_PERSISTENT_CODE so code can persist beyond the runtime.Damien George
2015-10-15py: Fix with+for+return bug by popping for-iter when unwinding exc stack.Damien George
2015-09-01vm: Handle "raise X from Y" statements the best way we can.Paul Sokolovsky
2015-06-25py: Remove mp_load_const_bytes and instead load precreated bytes object.Damien George
2015-06-25py: Remove mp_load_const_str and replace uses with inlined version.Damien George
2015-06-13py: Add MP_BINARY_OP_DIVMOD to simplify and consolidate divmod builtin.Damien George
2015-05-12py: Convert hash API to use MP_UNARY_OP_HASH instead of ad-hoc function.Damien George
2015-05-11vm: Properly handle StopIteration raised in user instance iterator.Paul Sokolovsky
2015-05-10vm: Null pointer test when checking for StopIteration optimizations.Paul Sokolovsky
2015-05-05py: Remove LOAD_CONST_ELLIPSIS bytecode, use LOAD_CONST_OBJ instead.Damien George
2015-04-26vm: On exiting except block, clear sys.exc_info() value.Paul Sokolovsky
2015-04-25modsys: Add basic sys.exc_info() implementation.Paul Sokolovsky
2015-04-24py: Modify bytecode "with" behaviour so it doesn't use any heap.Damien George
2015-04-11py: Combine load_attr and store_attr type methods into one (attr).Damien George
2015-04-09py: Adjust some spaces in code style/format, purely for consistency.Damien George
2015-04-09py: Fix msvc warning '*/ found outside of comment'stijn
2015-04-02py: Add finer configuration of static funcs when not in stackless mode.Damien George
2015-04-03vm: Support strict stackless mode, with proper exception reporting.Paul Sokolovsky
2015-04-03vm: Implement stackless for CALL_FUNCTION_VAR_KW & CALL_METHOD_VAR_KW.Paul Sokolovsky
2015-04-03vm: Stackless support for MP_BC_CALL_METHOD.Paul Sokolovsky
2015-04-03vm: If there's no heap to call function in stackless manner, call via C stack.Paul Sokolovsky
2015-04-03vm: Initial support for calling bytecode functions w/o C stack ("stackless").Paul Sokolovsky