git @ Cat's Eye Technologies SixtyPical / d1befe7
All tests pass again -- but this needs lots more tests please. Chris Pressey 3 years ago
1 changed file(s) with 4 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
815815 context._touched = set(context1._touched) | set(context2._touched)
816816 context.set_meaningful(*list(outgoing_meaningful))
817817 context._writeable = set(context1._writeable) | set(context2._writeable)
818 context.encounter_gotos(context1.encountered_gotos() | context2.encountered_gotos())
818
819 # in both cases, we need to merge the encountered gotos, in order that
820 # fallthru optimization continues to work correctly.
821 context.encounter_gotos(context1.encountered_gotos() | context2.encountered_gotos())
819822
820823 for ref in outgoing_trashes:
821824 context.set_touched(ref)