[pypy-commit] pypy rgc-mem-pressure: fix fix - getting closer I hope

justinpeel noreply at buildbot.pypy.org
Mon Oct 17 17:42:50 CEST 2011


Author: Justin Peel <notmuchtotell at gmail.com>
Branch: rgc-mem-pressure
Changeset: r48146:172e741aa26f
Date: 2011-10-17 09:42 -0600
http://bitbucket.org/pypy/pypy/changeset/172e741aa26f/

Log:	fix fix - getting closer I hope

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
@@ -559,11 +559,11 @@
     def gct_malloc_nonmovable_varsize(self, *args, **kwds):
         return self.gct_malloc_varsize(*args, **kwds)
 
-    def gct_add_memory_pressure(self, hop):
+    def gct_gc_add_memory_pressure(self, hop):
         if hasattr(self, 'raw_malloc_memory_pressure_ptr'):
             op = hop.spaceop
             size = op.args[0]
-            hop.genop("direct_call",
+            return hop.genop("direct_call",
                           [self.raw_malloc_memory_pressure_ptr,
                            size])
 


More information about the pypy-commit mailing list