73 Commits (acd2c5c8349a4cd713b1b36c0e6ec6f39791ca19)

Author SHA1 Message Date
Damien George 1692cad673 py/showbc: Remove global variables and make DECODE_PTR work correctly. 3 years ago
stijn 795370ca23 py/bc.h: Fix C++ compilation of public API. 3 years ago
Damien George f2040bfc7e py: Rework bytecode and .mpy file format to be mostly static data. 3 years ago
Damien George cfd08448a1 py: Mark unused arguments from bytecode decoding macros. 3 years ago
Damien George 85f2b239d8 py/showbc: Pass in an mp_print_t struct to all bytecode-print functions. 4 years ago
stijn 84fa3312cf all: Format code to add space after C++-style comment start. 5 years ago
Damien George 69661f3343 all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
Damien George b47e155bd0 py/persistentcode: Add ability to relocate loaded native code. 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 1d7afcce49 py/bc: Remove comments referring to obsolete currently_in_except_block. 5 years ago
Damien George 1f7202d122 py/bc: Replace big opcode format table with simple macro. 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
Paul Sokolovsky 016d9a40fe various: Add and update my copyright line based on git history. 6 years ago
Damien George 992a6e1dea py/persistentcode: Pack qstrs directly in bytecode to reduce mpy size. 6 years ago
Damien George a3dc1b1957 all: Remove inclusion of internal py header files. 7 years ago
Alexander Steffen 55f33240f3 all: Use the name MicroPython consistently in comments 7 years ago
Alexander Steffen 299bc62586 all: Unify header guard usage. 7 years ago
Damien George a8a5d1e8c8 py: Provide mp_decode_uint_skip() to help reduce stack usage. 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 cc4c1adf6e py/showbc: Make sure to set the const_table before printing bytecode. 8 years ago
Damien George f4ee9f8853 py/bc.h: Rename _mp_code_state to _mp_code_state_t. 8 years ago
Damien George 581a59a456 py: Rename struct mp_code_state to mp_code_state_t. 8 years ago
Damien George 1d899e1783 py/bc: Use size_t instead of mp_uint_t to count size of state and args. 9 years ago
Damien George 999cedb90f py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR. 9 years ago
Damien George 254cfa6c31 py: Use uintptr_t instead of mp_uint_t in MP_TAGPTR_* macros. 9 years ago
Damien George 9f6976b74e py: Make mp_setup_code_state take concrete pointer for func arg. 9 years ago
Damien George d8c834c95d py: Add MICROPY_PERSISTENT_CODE_LOAD/SAVE to load/save bytecode. 9 years ago
Damien George 713ea1800d py: Add constant table to bytecode. 9 years ago
Damien George 3a3db4dcf0 py: Put all bytecode state (arg count, etc) in bytecode. 9 years ago
Damien George 9b7f583b0c py: Reorganise bytecode layout so it's more structured, easier to edit. 10 years ago
Paul Sokolovsky 2039757b85 vm: Initial support for calling bytecode functions w/o C stack ("stackless"). 10 years ago
Paul Sokolovsky 53e5e0fa28 py: Make old_globals part of mp_code_state structure. 10 years ago
Damien George 51dfcb4bb7 py: Move to guarded includes, everywhere in py/ core. 10 years ago
Paul Sokolovsky 343266ea51 showbc: Refactor to allow inline instruction printing. 10 years ago
Damien George 74eb44c392 py: Reduce size of VM exception stack element by 1 machine word. 10 years ago
Damien George 1084b0f9c2 py: Store bytecode arg names in bytecode (were in own array). 10 years ago
Damien George 39dc145478 py: Change [u]int to mp_[u]int_t in qstr.[ch], and some other places. 10 years ago
Damien George 42f3de924b py: Convert [u]int to mp_[u]int_t where appropriate. 10 years ago
Damien George b534e1b9f1 py: Use variable length encoded uints in more places in bytecode. 10 years ago
Damien George 3c658a4e75 py: Fix bug where GC collected native/viper/asm function data. 10 years ago
Damien George 40f3c02682 Rename machine_(u)int_t to mp_(u)int_t. 11 years ago
Paul Sokolovsky f77d0c5bb3 objgenerator: First iteration of refactor to use mp_setup_code_state(). 11 years ago
Damien George aabd83ea20 py: Merge mp_execute_bytecode into fun_bc_call. 11 years ago
Paul Sokolovsky a4ac5b9f05 showbc: Make sure it's possible to trace MAKE_FUNCTION arg to actual bytecode. 11 years ago
Paul Sokolovsky b4ebad3310 vm: Factor out structure with code execution state and pass it around. 11 years ago