git @ Cat's Eye Technologies SixtyPical / 01e3ab0
Make tests pass. Chris Pressey 4 years ago
1 changed file(s) with 4 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
419419 self.analyze_for(instr, context)
420420 elif isinstance(instr, WithInterruptsOff):
421421 self.analyze_block(instr.block, context)
422 if context.encountered_gotos():
423 raise IllegalJumpError(instr, instr)
422424 elif isinstance(instr, Save):
423425 self.analyze_save(instr, context)
424426 else:
775777
776778 baton = context.extract(location)
777779 self.analyze_block(instr.block, context)
778 # TODO assert no goto was encountered
780 if context.encountered_gotos():
781 raise IllegalJumpError(instr, instr)
779782 context.re_introduce(baton)
780783
781784 if location == REG_A: