[pypy-commit] pypy raw-memory-pressure-nursery: pass another arg

fijal noreply at buildbot.pypy.org
Wed Feb 15 17:16:29 CET 2012


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: raw-memory-pressure-nursery
Changeset: r52514:2c93b78cdc3c
Date: 2012-02-15 18:15 +0200
http://bitbucket.org/pypy/pypy/changeset/2c93b78cdc3c/

Log:	pass another arg

diff --git a/pypy/rpython/llinterp.py b/pypy/rpython/llinterp.py
--- a/pypy/rpython/llinterp.py
+++ b/pypy/rpython/llinterp.py
@@ -719,8 +719,8 @@
         track_allocation = flags.get('track_allocation', True)
         self.heap.free(obj, flavor='raw', track_allocation=track_allocation)
 
-    def op_gc_add_memory_pressure(self, size):
-        self.heap.add_memory_pressure(size)
+    def op_gc_add_memory_pressure(self, owner, size):
+        self.heap.add_memory_pressure(owner, size)
 
     def op_shrink_array(self, obj, smallersize):
         return self.heap.shrink_array(obj, smallersize)


More information about the pypy-commit mailing list