[pypy-commit] pypy default: Move this attribute to the Boehm subclass. For the Framework subclass

arigo noreply at buildbot.pypy.org
Tue Nov 11 18:09:14 CET 2014


Author: Armin Rigo <arigo at tunes.org>
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


More information about the pypy-commit mailing list