diff options
Diffstat (limited to 'Tools/cases_generator/analysis.py')
-rw-r--r-- | Tools/cases_generator/analysis.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Tools/cases_generator/analysis.py b/Tools/cases_generator/analysis.py index 180bd01..027d953 100644 --- a/Tools/cases_generator/analysis.py +++ b/Tools/cases_generator/analysis.py @@ -385,12 +385,9 @@ class Analyzer: def analyze_pseudo(self, pseudo: parsing.Pseudo) -> PseudoInstruction: targets = [self.instrs[target] for target in pseudo.targets] assert targets - # Make sure the targets have the same fmt - fmts = list(set([t.instr_fmt for t in targets])) - assert len(fmts) == 1 ignored_flags = {"HAS_EVAL_BREAK_FLAG", "HAS_DEOPT_FLAG", "HAS_ERROR_FLAG"} assert len({t.instr_flags.bitmap(ignore=ignored_flags) for t in targets}) == 1 - return PseudoInstruction(pseudo.name, targets, fmts[0], targets[0].instr_flags) + return PseudoInstruction(pseudo.name, targets, targets[0].instr_flags) def analyze_instruction( self, instr: Instruction, offset: int |