GH-111485: Factor out generation of uop IDs from cases generator. (GH-112877)

This commit is contained in:
Mark Shannon 2023-12-11 14:14:36 +00:00 committed by GitHub
parent 97cd45bfdb
commit c27e9d5d17
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 368 additions and 98 deletions

View file

@ -381,7 +381,7 @@ class Generator(Analyzer):
self.write_pseudo_instrs()
self.out.emit("")
self.write_uop_items(lambda name, counter: f"#define {name} {counter}")
self.out.emit('#include "pycore_uop_ids.h"')
self.write_stack_effect_functions()