Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r337:93b19a1dfaf5
Date: 2015-10-13 09:10 +0200
http://bitbucket.org/pypy/benchmarks/changeset/93b19a1dfaf5/

Log:    Change this old version of pypy to translate on PPC (without
        stacklets)

diff --git a/lib/pypy/rpython/memory/gctransform/shadowstack.py 
b/lib/pypy/rpython/memory/gctransform/shadowstack.py
--- a/lib/pypy/rpython/memory/gctransform/shadowstack.py
+++ b/lib/pypy/rpython/memory/gctransform/shadowstack.py
@@ -400,6 +400,9 @@
         llmemory.raw_free(shadowstackref.base)
         if h:
             _c.destroy(h)
+    if not gctransformer.translator.config.translation.continuation:
+        def shadowstack_destructor(shadowstackref):
+            llmemory.raw_free(shadowstackref.base)
 
     destrptr = gctransformer.annotate_helper(shadowstack_destructor,
                                              [SHADOWSTACKREFPTR], lltype.Void)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to