All tests pass again -- but this needs lots more tests please.
Chris Pressey
3 years ago
815 | 815 | context._touched = set(context1._touched) | set(context2._touched) |
816 | 816 | context.set_meaningful(*list(outgoing_meaningful)) |
817 | 817 | 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()) | |
819 | 822 | |
820 | 823 | for ref in outgoing_trashes: |
821 | 824 | context.set_touched(ref) |