Author: Armin Rigo <ar...@tunes.org>
Branch: stmgc-c7
Changeset: r69893:c6329f85e8bc
Date: 2014-03-12 11:08 +0100
http://bitbucket.org/pypy/pypy/changeset/c6329f85e8bc/

Log:    Fixes

diff --git a/rpython/translator/c/database.py b/rpython/translator/c/database.py
--- a/rpython/translator/c/database.py
+++ b/rpython/translator/c/database.py
@@ -64,7 +64,8 @@
 
         self.instrument_ncounter = 0
 
-        self.with_stm = self.translator.config.translation.stm
+        self.with_stm = (self.translator is not None and
+                         self.translator.config.translation.stm)
         self.prebuilt_gc_counter = 0
 
     def gettypedefnode(self, T, varlength=None):
diff --git a/rpython/translator/stm/jitdriver.py 
b/rpython/translator/stm/jitdriver.py
--- a/rpython/translator/stm/jitdriver.py
+++ b/rpython/translator/stm/jitdriver.py
@@ -148,7 +148,6 @@
     def make_invoke_stm_function(self):
         CONTAINER = self.CONTAINER
         callback = self.callback_function
-        XXX
         perform_transaction = rstm.make_perform_transaction(callback,
                                                             self.CONTAINERP)
         irange = range(len(self.TYPES))
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to