commit | 65b7b6bd23ea789357777f3a0a6f25a79bb04177 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Wed Feb 08 16:23:19 2023 -0800 |
committer | GitHub <noreply@github.com> | Wed Feb 08 16:23:19 2023 -0800 |
tree | c7b79edb1ff56ab27034ca1d70ad2516cce65ad1 | |
parent | 0e0c5d8baaa6aa91f4221c5aa57d5586e58e8652 [diff] |
gh-98831: Use opcode metadata for stack_effect() (#101704) * Write output and metadata in a single run This halves the time to run the cases generator (most of the time goes into parsing the input). * Declare or define opcode metadata based on NEED_OPCODE_TABLES * Use generated metadata for stack_effect() * compile.o depends on opcode_metadata.h * Return -1 from _PyOpcode_num_popped/pushed for unknown opcode