129 Commits (66ae8c9f49539f1b824e2ef9fd792dcc3155dfb4)

Author SHA1 Message Date
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
Damien George 07ddab529c py: Change mp_const_* objects to macros. 11 years ago
Damien George d1e443d0bc py: Free unique_code slot for outer module. 11 years ago
Paul Sokolovsky 44307d5ef8 vm: Implement "with" statement (SETUP_WITH and WITH_CLEANUP bytecodes). 11 years ago
Paul Sokolovsky 682f9e639d vm: Make sure that exception triple is <type, instance, traceback>. 11 years ago
Paul Sokolovsky 4fff26a35c vm: Factor out exception block setup to a macro. 11 years ago
Paul Sokolovsky 55234f4617 py: yield from: Elaborate GeneratorExit (gen.close()) handling. 11 years ago
Paul Sokolovsky cf21a4e7f4 py: Core "yield from" implementation. 11 years ago
Damien George bee17b00e3 py: Put n_state for bytecode in the bytecode prelude. 11 years ago
Damien George 8dcc0c7924 py: Calculate maximum exception stack size in compiler. 11 years ago
Paul Sokolovsky 2447a5b582 py: Support closures with default args. 11 years ago
Damien George 66eaf84b8c py: Replace mp_const_stop_iteration object with MP_OBJ_NULL. 11 years ago