42 Commits (decf8e6a8bb940d5829ca3296790631fcece7b21)

Author SHA1 Message Date
Damien George 7d5f697c38 py/emitglue: Add explicit cast of proto_fun to uint8_t pointer. 8 months ago
Damien George 9e5b6972c7 py/emitglue: Make mp_emit_glue_assign_native's fun_data arg a const ptr. 9 months ago
Damien George def6ad4742 py/emitglue: Include fun_data_len in mp_raw_code_t only when saving. 9 months ago
Damien George e2ff00e811 py/emitglue: Introduce mp_proto_fun_t as a more general mp_raw_code_t. 9 months ago
Damien George 5e3006f117 py/emitglue: Simplify mp_raw_code_t's kind and scope_flags members. 9 months ago
Damien George 416465d81e py/emitglue: Provide a truncated mp_raw_code_t for non-asm code. 9 months ago
Damien George 39bf055d23 py/emitglue: Reorder and resize members of mp_raw_code_t. 9 months ago
Damien George d4d53e9e11 py/emitnative: Access qstr values using indirection table qstr_table. 3 years ago
Damien George f2040bfc7e py: Rework bytecode and .mpy file format to be mostly static data. 3 years ago
Milan Rossa 310b3d1b81 py: Integrate sys.settrace feature into the VM and runtime. 5 years ago
Jun Wu b152bbddd1 py: Define EMIT_MACHINE_CODE as EMIT_NATIVE || EMIT_INLINE_ASM. 6 years ago
Damien George 1396a026be py: Add support to save native, viper and asm code to .mpy files. 6 years ago
Damien George 636ed0ff8d py/emitglue: Remove union in mp_raw_code_t to combine bytecode & native. 6 years ago
Damien George 3751512e9d py/emit: Move MP_EMIT_OPT_xxx enums from compile.h to emitglue.h. 6 years ago
Damien George 5604b710c2 py/emitglue: When assigning bytecode only pass bytecode len if needed. 7 years ago
Damien George cf8e8c29e7 py/emitglue: Change type of bit-field to explicitly unsigned mp_uint_t. 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 6810f2c134 py: Factor persistent code load/save funcs into persistentcode.[ch]. 8 years ago
Damien George ed0c11236f py/emitglue: Make mp_raw_code_t* arguments constant pointers. 9 years ago
Damien George 6d24dc23b8 py/emitglue: Move typedef of mp_raw_code_t from .c to .h file. 9 years ago
Damien George b5b1f2c527 py/emitglue: Add mp_raw_code_load_mem to load raw-code from memory. 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 9988618e0e py: Implement full func arg passing for native emitter. 10 years ago
Damien George 32444b759a py: Don't use anonymous unions, name them instead. 10 years ago
Damien George 51dfcb4bb7 py: Move to guarded includes, everywhere in py/ core. 10 years ago
Paul Sokolovsky 8ab6f90674 py: Move to guarded includes for compile.h and related headers. 10 years ago
Damien George 1084b0f9c2 py: Store bytecode arg names in bytecode (were in own array). 10 years ago
Damien George 564963a170 py: Fix debug-printing of bytecode line numbers. 10 years ago
Damien George 3c658a4e75 py: Fix bug where GC collected native/viper/asm function data. 10 years ago
Damien George 2ac4af6946 py: Allow viper to have type annotations. 10 years ago
Damien George 915197a8f9 py: Remove emit_glue init and deinit. Needed only for debugging. 11 years ago
Damien George ccc85ea0da py: Combine native emitters to 1 glue function; distinguish viper. 11 years ago
Damien George 3417bc2f25 py: Rename byte_code to bytecode everywhere. 11 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 11 years ago
Damien George 2827d62e8b py: Implement keyword-only args. 11 years ago
Damien George 3558f62fb5 py: Making closures now passes pointer to stack, not a tuple for vars. 11 years ago
Damien George df8127a17e py: Remove unique_codes from emitglue.c. Replace with pointers. 11 years ago
Damien George d1e443d0bc py: Free unique_code slot for outer module. 11 years ago
Damien George 2326d52d20 py: Factor out code from runtime.c to emitglue.c. 11 years ago