Commits

Remi Meier committed 28c2536

another small simplification

  • Participants
  • Parent commits 3b0d466
  • Branches stmgc-c7

Comments (0)

Files changed (1)

File rpython/translator/stm/readbarrier.py

                     cat = None
                 output_categories.append(cat)
             newoperations = []
-            newargs = link.args
-            linkoperations.append((newargs, newoperations, output_categories))
+            linkoperations.append((newoperations, output_categories))
         #
         # Record how we'd like to patch the block, but don't do any
         # patching yet
         (_, _, linkoperations) = self.patch
         assert len(linkoperations) == len(self.block.exits)
         targetbts = []
-        for link, (_, _, output_categories) in zip(self.block.exits,
+        for link, (_, output_categories) in zip(self.block.exits,
                                                    linkoperations):
             targetblock = link.target
             if targetblock not in block_transformers:
         if switchv is not None:
             self.block.exitswitch = switchv
         assert len(linkoperations) == len(self.block.exits)
-        for link, (newargs, newoperations, _) in zip(self.block.exits,
+        for link, (newoperations, _) in zip(self.block.exits,
                                                      linkoperations):
-            link.args[:] = newargs
             if newoperations:
                 # must put them in a fresh block along the link
                 annotator = self.stmtransformer.translator.annotator