1
0
mirror of https://github.com/catseye/SixtyPical.git synced 2024-06-22 00:29:30 +00:00

All tests pass again -- but this needs lots more tests please.

This commit is contained in:
Chris Pressey 2018-11-27 17:11:37 +00:00
parent 07ec6752ee
commit d1befe7123

View File

@ -816,6 +816,9 @@ class Analyzer(object):
context._touched = set(context1._touched) | set(context2._touched)
context.set_meaningful(*list(outgoing_meaningful))
context._writeable = set(context1._writeable) | set(context2._writeable)
# in both cases, we need to merge the encountered gotos, in order that
# fallthru optimization continues to work correctly.
context.encounter_gotos(context1.encountered_gotos() | context2.encountered_gotos())
for ref in outgoing_trashes: