File tree Expand file tree Collapse file tree 2 files changed +1
-11
lines changed Expand file tree Collapse file tree 2 files changed +1
-11
lines changed Original file line number Diff line number Diff line change 2121from cwriter import CWriter
2222from dataclasses import dataclass
2323from typing import TextIO
24- from stack import Stack , get_stack_effect , get_stack_effects
24+ from stack import get_stack_effect
2525
2626# Constants used instead of size for macro expansions.
2727# Note: 1, 2, 4 must match actual cache entry sizes.
Original file line number Diff line number Diff line change @@ -416,16 +416,6 @@ def get_stack_effect(inst: Instruction | PseudoInstruction) -> Stack:
416416 return stack
417417
418418
419- def get_stack_effects (inst : Instruction | PseudoInstruction ) -> list [Stack ]:
420- """Returns a list of stack effects after each uop"""
421- result = []
422- stack = Stack ()
423- for s in stacks (inst ):
424- apply_stack_effect (stack , s )
425- result .append (stack .copy ())
426- return result
427-
428-
429419@dataclass
430420class Storage :
431421
You can’t perform that action at this time.
0 commit comments