[pypy-commit] pypy rgc-mem-pressure: another fix
justinpeel
noreply at buildbot.pypy.org
Mon Oct 17 17:19:41 CEST 2011
Author: Justin Peel <notmuchtotell at gmail.com>
Branch: rgc-mem-pressure
Changeset: r48143:3cb6f09da80a
Date: 2011-10-17 09:14 -0600
http://bitbucket.org/pypy/pypy/changeset/3cb6f09da80a/
Log: another fix
diff --git a/pypy/rpython/memory/gctransform/transform.py b/pypy/rpython/memory/gctransform/transform.py
--- a/pypy/rpython/memory/gctransform/transform.py
+++ b/pypy/rpython/memory/gctransform/transform.py
@@ -560,7 +560,7 @@
return self.gct_malloc_varsize(*args, **kwds)
def gct_add_memory_pressure(self, hop):
- if hasattr(self, 'add_memory_pressure_ptr'):
+ if hasattr(self, 'raw_malloc_memory_pressure_ptr'):
op = hop.spaceop
size = op.args[0]
hop.genop("direct_call",
diff --git a/pypy/rpython/memory/test/test_transformed_gc.py b/pypy/rpython/memory/test/test_transformed_gc.py
--- a/pypy/rpython/memory/test/test_transformed_gc.py
+++ b/pypy/rpython/memory/test/test_transformed_gc.py
@@ -1024,7 +1024,7 @@
llop.gc__collect(lltype.Void)
return static.p.x + i
def cleanup():
- static.p = lltype.nullptr(T1)
+ static.p = lltype.nullptr(T1)
return f, cleanup, None
def test_nongc_static_root_minor_collect(self):
More information about the pypy-commit
mailing list