Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Pacify mypy
  • Loading branch information
markshannon committed Oct 31, 2023
commit 3797c5a44ecb63e58df6a5870fc530ed3739aa79
4 changes: 2 additions & 2 deletions Tools/cases_generator/generate_cases.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,8 @@ def effect_str(effects: list[StackEffect]) -> str:
for target in self.pseudos[thing.name].targets:
target_instr = self.instrs.get(target)
if target_instr is None:
target_instr = self.macro_instrs[target]
popped, pushed = stacking.get_stack_effect_info_for_macro(target_instr)
macro_instr = self.macro_instrs[target]
popped, pushed = stacking.get_stack_effect_info_for_macro(macro_instr)
else:
target_popped = effect_str(target_instr.input_effects)
target_pushed = effect_str(target_instr.output_effects)
Expand Down