Author: Armin Rigo <[email protected]>
Branch: stmgc-c7
Changeset: r69870:92e19792822d
Date: 2014-03-11 18:16 +0100
http://bitbucket.org/pypy/pypy/changeset/92e19792822d/

Log:    For now, ignore destructors with stm

diff --git a/rpython/memory/gctransform/framework.py 
b/rpython/memory/gctransform/framework.py
--- a/rpython/memory/gctransform/framework.py
+++ b/rpython/memory/gctransform/framework.py
@@ -1237,6 +1237,8 @@
         super(TransformerLayoutBuilder, self).__init__(GCClass, lltype2vtable)
 
     def has_finalizer(self, TYPE):
+        if self.translator.config.translation.stm:
+            return False  # XXX no finalizer support for now
         rtti = get_rtti(TYPE)
         return rtti is not None and getattr(rtti._obj, 'destructor_funcptr',
                                             None)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to