8000 gh-98831: register instructions have 0 pushes and pops (#101163) · python/cpython@8a2d4f4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8a2d4f4

Browse files
authored
gh-98831: register instructions have 0 pushes and pops (#101163)
1 parent e9ccfe4 commit 8a2d4f4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Tools/cases_generator/generate_cases.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -810,6 +810,7 @@ def write_metadata_for_inst(self, instr: Instruction) -> None:
810810
directions.extend("DIR_WRITE" for _ in instr.output_effects)
811811
directions.extend("DIR_NONE" for _ in range(3))
812812
dir_op1, dir_op2, dir_op3 = directions[:3]
813+
n_popped = n_pushed = 0
813814
self.out.emit(
814815
f' [{instr.name}] = {{ {n_popped}, {n_pushed}, {dir_op1}, {dir_op2}, {dir_op3}, true, {INSTR_FMT_PREFIX}{instr.instr_fmt} }},'
815816
)

0 commit comments

Comments
 (0)
0