SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 2 Python

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
G
Guido van Rossum committed
65b7b6bd23ea789357777f3a0a6f25a79bb04177
Parent: 0e0c5d8
Committed by GitHub <noreply@github.com> on 2/9/2023, 12:23:19 AM