Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r74450:a2aafac5b363
Date: 2014-11-11 18:08 +0100
http://bitbucket.org/pypy/pypy/changeset/a2aafac5b363/

Log:    Move this attribute to the Boehm subclass. For the Framework
        subclass it is overridden anyway from the GCClass.

diff --git a/rpython/jit/backend/llsupport/gc.py 
b/rpython/jit/backend/llsupport/gc.py
--- a/rpython/jit/backend/llsupport/gc.py
+++ b/rpython/jit/backend/llsupport/gc.py
@@ -55,7 +55,6 @@
 # ____________________________________________________________
 
 class GcLLDescription(GcCache):
-    malloc_zero_filled = True
 
     def __init__(self, gcdescr, translator=None, rtyper=None):
         GcCache.__init__(self, translator is not None, rtyper)
@@ -246,6 +245,7 @@
 
 class GcLLDescr_boehm(GcLLDescription):
     kind                  = 'boehm'
+    malloc_zero_filled    = True
     moving_gc             = False
     round_up              = False
     write_barrier_descr   = None
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to