1.1 --- a/micropython/branch.py Sun Oct 27 01:00:27 2013 +0200
1.2 +++ b/micropython/branch.py Sun Oct 27 01:02:05 2013 +0200
1.3 @@ -381,6 +381,11 @@
1.4 if node._attrbranches is None:
1.5 node._attrbranches = []
1.6
1.7 + # Branches receiving usage from this node.
1.8 +
1.9 + if node._attrrevbranches is None:
1.10 + node._attrrevbranches = []
1.11 +
1.12 # Definitions receiving usage from this node.
1.13
1.14 if node._attrdefs is None:
1.15 @@ -537,6 +542,7 @@
1.16 for user in all_users:
1.17 self._init_attribute_user(user)
1.18 user._attrbranches.append(node)
1.19 + node._attrrevbranches.append(user)
1.20
1.21 def _abandon_branch(self, retain_branch=True):
1.22