42 Commits (daa948fe05ee165a00a02f0b529c15601fe5ac5f)

Author SHA1 Message Date
Damien George a506335524 py/emit: Suppress unreachable bytecode/native code that follows jump. 2 years ago
Damien George e85a096302 py/emit: Remove logic to detect last-emit-was-return-value. 2 years ago
Damien George 90682f43af py/compile: Allow new qstrs to be allocated at all compiler passes. 3 years ago
Damien George 35c0cff92b py/parse: Add MICROPY_COMP_CONST_TUPLE option to build const tuples. 3 years ago
David Lechner 1e99d29f36 py/runtime: Allow multiple **args in a function call. 5 years ago
Damien George 538c3c0a55 py: Change jump opcodes to emit 1-byte jump offset when possible. 3 years ago
Damien George f2040bfc7e py: Rework bytecode and .mpy file format to be mostly static data. 3 years ago
Damien George 78ab2eeda3 py/showbc: Print unary-op string when dumping bytecode. 3 years ago
Jim Mussared b326edf68c all: Remove MICROPY_OPT_CACHE_MAP_LOOKUP_IN_BYTECODE. 3 years ago
David Lechner 3dc324d3f1 tests: Format all Python code with black, except tests in basics subdir. 5 years ago
Petr Viktorin 25a9bccdee py/compile: Disallow 'import *' outside module level. 5 years ago
Damien George c8c0fd4ca3 py: Rework and compress second part of bytecode prelude. 5 years ago
Damien George 02db91a7a3 py: Split RAISE_VARARGS opcode into 3 separate ones. 5 years ago
Damien George 67fdfebe64 tests: Update tests for changes to opcode ordering. 5 years ago
Damien George 2069c563f9 py: Add support for matmul operator @ as per PEP 465. 5 years ago
Milan Rossa 498e35219e tests: Add tests for sys.settrace feature. 5 years ago
Milan Rossa ae6fe8b43c py/compile: Improve the line numbering precision for comprehensions. 5 years ago
Damien George 5a2599d962 py: Replace POP_BLOCK and POP_EXCEPT opcodes with POP_EXCEPT_JUMP. 6 years ago
Damien George e1fb03f3e2 py: Fix VM crash with unwinding jump out of a finally block. 6 years ago
Damien George 0864a6957f py: Clean up unary and binary enum list to keep groups together. 7 years ago
Paul Sokolovsky 9d836fedbd py: Clarify which mp_unary_op_t's may appear in the bytecode. 7 years ago
Paul Sokolovsky b8ee7ab5b9 py/runtime0.h: Put inplace arith ops in front of normal operations. 7 years ago
Paul Sokolovsky 50b9329eba py/runtime0.h: Move MP_BINARY_OP_DIVMOD to the end of mp_binary_op_t. 7 years ago
Paul Sokolovsky d4d1c45a55 py/runtime0.h: Move relational ops to the beginning of mp_binary_op_t. 7 years ago
Damien George 30badd1ce1 tests: Add tests for calling super and loading a method directly. 8 years ago
Damien George 86b3db9cd0 tests/cmdline/cmd_showbc: Update to work with recent changes. 8 years ago
Damien George 861b001783 tests/cmdline: Update tests to pass with latest changes to bytecode. 8 years ago
Damien George f4df3aaa72 py: Allow bytecode/native to put iter_buf on stack for simple for loops. 9 years ago
Damien George 453c2e8f55 tests/cmdline: Improve coverage test for printing bytecode. 8 years ago
stijn 7f19b1c3eb tests: Fix expected output of verbose cmdline test 8 years ago
Damien George f65e4f0b8f tests/cmdline/cmd_showbc: Fix test now that 1 value is stored on stack. 8 years ago
Damien George bb954d80a4 tests: Get cmdline verbose tests running again. 8 years ago
Damien George 59fba2d6ea py: Remove mp_load_const_bytes and instead load precreated bytes object. 10 years ago
Damien George c5029bcbf3 py: Add MP_BINARY_OP_DIVMOD to simplify and consolidate divmod builtin. 10 years ago
Damien George c2a4e4effc py: Convert hash API to use MP_UNARY_OP_HASH instead of ad-hoc function. 10 years ago
Damien George 9a42eb541e py: Fix naming of function arguments when function is a closure. 10 years ago
Damien George 367d4d1098 tests: Fix cmd_showbc now that LOAD_CONST_ELLIPSIS bytecode is gone. 10 years ago
Damien George 8c1d23a0e2 py: Modify bytecode "with" behaviour so it doesn't use any heap. 10 years ago
Damien George c9aa1883ed py: Simplify bytecode prelude when encoding closed over variables. 10 years ago
Damien George 1004535237 tests: Make cmdline tests more stable by using regex for matching. 10 years ago
Damien George 0683c1ceef tests: Don't try to verify amount of memory used in cmd_showbc test. 10 years ago
Damien George 703c009681 tests: Add cmdline test to test showbc code. 10 years ago