mirror of
https://github.com/python/cpython.git
synced 2024-11-27 11:55:13 +08:00
gh-98831: register instructions have 0 pushes and pops (#101163)
This commit is contained in:
parent
e9ccfe4a63
commit
8a2d4f4e8e
@ -810,6 +810,7 @@ class Analyzer:
|
||||
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…
Reference in New Issue
Block a user