[pypy-svn] r44968 - pypy/branch/emptying-the-malloc-zoo-2/pypy/rpython/memory/gctransform
mwh at codespeak.net
mwh at codespeak.net
Thu Jul 12 15:46:26 CEST 2007
Author: mwh
Date: Thu Jul 12 15:46:24 2007
New Revision: 44968
Modified:
pypy/branch/emptying-the-malloc-zoo-2/pypy/rpython/memory/gctransform/boehm.py
pypy/branch/emptying-the-malloc-zoo-2/pypy/rpython/memory/gctransform/transform.py
Log:
(mwh, pedronis)
don't inline the varsize malloc helpers
Modified: pypy/branch/emptying-the-malloc-zoo-2/pypy/rpython/memory/gctransform/boehm.py
==============================================================================
--- pypy/branch/emptying-the-malloc-zoo-2/pypy/rpython/memory/gctransform/boehm.py (original)
+++ pypy/branch/emptying-the-malloc-zoo-2/pypy/rpython/memory/gctransform/boehm.py Thu Jul 12 15:46:24 2007
@@ -44,9 +44,9 @@
self.malloc_fixedsize_atomic_ptr = self.inittime_helper(
ll_malloc_fixedsize_atomic, [lltype.Signed], llmemory.Address)
self.malloc_varsize_no_length_ptr = self.inittime_helper(
- ll_malloc_varsize_no_length, [lltype.Signed]*3, llmemory.Address)
+ ll_malloc_varsize_no_length, [lltype.Signed]*3, llmemory.Address, inline=False)
self.malloc_varsize_ptr = self.inittime_helper(
- ll_malloc_varsize, [lltype.Signed]*4, llmemory.Address)
+ ll_malloc_varsize, [lltype.Signed]*4, llmemory.Address, inline=False)
self.mixlevelannotator.finish() # for now
def push_alive_nopyobj(self, var, llops):
Modified: pypy/branch/emptying-the-malloc-zoo-2/pypy/rpython/memory/gctransform/transform.py
==============================================================================
--- pypy/branch/emptying-the-malloc-zoo-2/pypy/rpython/memory/gctransform/transform.py (original)
+++ pypy/branch/emptying-the-malloc-zoo-2/pypy/rpython/memory/gctransform/transform.py Thu Jul 12 15:46:24 2007
@@ -243,8 +243,8 @@
self.graphs_to_inline[graph] = True
return self.mixlevelannotator.graph2delayed(graph)
- def inittime_helper(self, ll_helper, ll_args, ll_result):
- ptr = self.annotate_helper(ll_helper, ll_args, ll_result, inline=True)
+ def inittime_helper(self, ll_helper, ll_args, ll_result, inline=True):
+ ptr = self.annotate_helper(ll_helper, ll_args, ll_result, inline=inline)
return Constant(ptr, lltype.typeOf(ptr))
def finish_helpers(self):
More information about the Pypy-commit
mailing list