mirror of
https://github.com/python/cpython.git
synced 2025-12-31 12:33:28 +00:00
gh-98831: register instructions have 0 pushes and pops (#101163)
This commit is contained in:
parent
e9ccfe4a63
commit
8a2d4f4e8e
1 changed files with 1 additions and 0 deletions
|
|
@ -810,6 +810,7 @@ def write_metadata_for_inst(self, instr: Instruction) -> None:
|
|||
directions.extend("DIR_WRITE" for _ in instr.output_effects)
|
||||
directions.extend("DIR_NONE" for _ in range(3))
|
||||
dir_op1, dir_op2, dir_op3 = directions[:3]
|
||||
n_popped = n_pushed = 0
|
||||
self.out.emit(
|
||||
f' [{instr.name}] = {{ {n_popped}, {n_pushed}, {dir_op1}, {dir_op2}, {dir_op3}, true, {INSTR_FMT_PREFIX}{instr.instr_fmt} }},'
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue