140 Commits (ff380c25582f3e2645e9d6204d1f966619d4bdd1)

Author SHA1 Message Date
Paul Sokolovsky f54bcbf099 py, unix: Make "mpconfig.h" be first included, as other headers depend on it. 11 years ago
Damien George 968bf34c4c py: Remove unnecessary LOAD_CONST_ID bytecode. 11 years ago
Damien George db12891918 py: Eliminate 'op' variable in VM dispatch loop. 11 years ago
Damien George c0dc7c3dfa py, vm: Fix recent bug where state is freed too early. 11 years ago
Damien George d5e8482c4a py, vm: Free heap-allocated state if it was allocated on the heap. 11 years ago
Paul Sokolovsky c5e32c6995 vm: Add rudimentary bytecode execution tracing capability. 11 years ago
Damien George 5f6a25fc50 py: Wrap #if's around emitter functions that are used only by emitcpy. 11 years ago
Damien George 3558f62fb5 py: Making closures now passes pointer to stack, not a tuple for vars. 11 years ago
Damien George 5b65f0c7d3 py: Rename USE_COMPUTED_GOTOS to USE_COMPUTED_GOTO and enable on stmhal. 11 years ago
Damien George ea8d06c39d py: Add MP_OBJ_STOP_ITERATION and make good use of it. 11 years ago
Damien George 729f7b42d6 py: Merge BINARY_OP_SUBSCR and store_subscr (w/ delete) into subscr. 11 years ago
Damien George 66ae8c9f49 py: Tidy up variables in VM, probably fixes subtle bugs. 11 years ago
AZ Huang 9413ca02fb Rename header file. 11 years ago
AZ Huang 9309d9982f Move entry_table to separated header file. 11 years ago
Damien George 3bb8bd899b Make USE_COMPUTED_GOTO a config option in mpconfig.h. 11 years ago
AZ Huang b1f692e82e Use computed goto instead of switching op-codes. 11 years ago
Damien George df8127a17e py: Remove unique_codes from emitglue.c. Replace with pointers. 11 years ago
Damien George 6ce4277551 py: Make all LOAD_FAST ops check for unbound local. 11 years ago
Damien George 69b89d21b2 py: Change compile order for default positional and keyword args. 11 years ago
Damien George a1ef441d18 py: Fix VM stack overflow detection. 11 years ago
Damien George e90be0ddf5 py: Add option to VM to detect stack overflow. 11 years ago
Damien George d99944acdd py: Clear state to MP_OBJ_NULL before executing byte code. 11 years ago
Damien George 2bf7c09222 py: Properly implement deletion of locals and derefs, and detect errors. 11 years ago
Damien George f4c9b33abf py: Remove DELETE_SUBSCR opcode, combine with STORE_SUBSCR. 11 years ago
Damien George 1d24ea5207 py: Finish implementation of all del opcodes. 11 years ago
Damien George 495d781a36 py: implement UNPACK_EX byte code (for: a, *b, c = d) 11 years ago
Damien George e753d916c0 py: Raise exception for unimplemented byte codes. 11 years ago
Damien George cdd96dff2c py: Implement more features in native emitter. 11 years ago
Damien George ea13f407a3 py: Change nlr_jump to nlr_raise, to aid in debugging. 11 years ago
Damien George 09a4d8305d py: Fix bug in DELETE_SUBSCR bytecode, decreasing sp too much. 11 years ago
Damien George 66edc5d899 py: Implement DELETE_SUBSCR bytecode; implement mp_obj_dict_delete. 11 years ago
Damien George 6902eeda25 py: Add m_malloc_fail function to handle memory allocation error. 11 years ago
Damien George 15d18069c5 py: Remove old "run time" functions that were 1 liners. 11 years ago
Paul Sokolovsky 7da0660516 mp_resume: Dare to pass send_value of NULL. 11 years ago
Damien George e337f1ef5e py: Towards default keyword arguments. 11 years ago
Damien George 523b575039 py: Add LOAD_NULL bytecode and use it to simplify function calls. 11 years ago
Paul Sokolovsky f39d3b93da py: Implement support for generalized generator protocol. 11 years ago
Damien George 230fec77d7 py: Implement positional and keyword args via * and **. 11 years ago
Paul Sokolovsky 14b8203a99 vm: Implement DELETE_FAST_N bytecode. 11 years ago
Paul Sokolovsky 55ca075cab vm: Implement CALL_FUNCTION_VAR opcode (foo(*(1, 2, 3))). 11 years ago
Damien George d17926db71 Rename rt_* to mp_*. 11 years ago
Damien George 89f94b51ab py: Rename mp_exc_stack to mp_exc_stack_t. 11 years ago
Damien George d7592a1c3f py: Fix reraise logic. 11 years ago
Paul Sokolovsky 0c904df8e6 vm: Save current active exception on opening new try block. 11 years ago
Paul Sokolovsky 69975df3ff vm: WITH_CLEANUP: use POP_EXC_BLOCK(). 11 years ago
Paul Sokolovsky a0ad77ba08 vm: Establish macros PUSH_EXC_BLOCK & POP_EXC_BLOCK to deal with exc stack. 11 years ago
Paul Sokolovsky d109676ec0 py: Reraising exception possible only in except block. 11 years ago
Paul Sokolovsky 40d6d29af6 vm: Elaborate comments for WITH_CLEANUP, other cosmetic fixes. 11 years ago
Damien George c689c19471 py: Make MP_BC_SETUP_WITH use the bytecode stack for load_method. 11 years ago
Damien George b04be056fe py: Fix regress with GeneratorExit object becoming truly const. 11 years ago