Commits

Armin Rigo committed b49b172

Typos

Comments (0)

Files changed (2)

pypy/translator/stm/localtracker.py

     of the stmgc: a pointer is 'local' if it goes to the thread-local memory,
     and 'global' if it points to the shared read-only memory area."""
 
-    def __init__(self, translator):
+    def __init__(self, translator, transactionbreak_analyzer):
         self.translator = translator
-        self.gsrc = GcSource(translator)
+        self.gsrc = GcSource(translator, transactionbreak_analyzer)
 
     def is_local(self, variable):
         try:

pypy/translator/stm/transform.py

         #
         for graph in t.graphs:
             gcsource.break_blocks_after_transaction_breaker(
-                t, graph, self.transactionbreak_analyzer)
+                t, graph, transactionbreak_analyzer)
         #
         for graph in t.graphs:
             pre_insert_stm_writebarrier(graph)