Author: Armin Rigo <[email protected]>
Branch: sandbox-2
Changeset: r97263:8bd962a47352
Date: 2019-08-26 14:19 +0200
http://bitbucket.org/pypy/pypy/changeset/8bd962a47352/

Log:    fix

diff --git a/rpython/rlib/rgc.py b/rpython/rlib/rgc.py
--- a/rpython/rlib/rgc.py
+++ b/rpython/rlib/rgc.py
@@ -373,7 +373,7 @@
 
     TP = lltype.typeOf(source).TO
     assert TP == lltype.typeOf(dest).TO
-    if not lltype_is_gc(TP) and sandboxed_translation():
+    if TP._gckind != 'gc' and sandboxed_translation():
         _ll_arraycopy_of_nongc_not_for_sandboxed()
 
     # XXX: Hack to ensure that we get a proper effectinfo.write_descrs_arrays
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to