[pypy-svn] r76759 - pypy/branch/markcompact/pypy/rpython/memory/gc
arigo at codespeak.net
arigo at codespeak.net
Fri Aug 27 19:43:47 CEST 2010
Author: arigo
Date: Fri Aug 27 19:43:45 2010
New Revision: 76759
Modified:
pypy/branch/markcompact/pypy/rpython/memory/gc/markcompact.py
Log:
Remove unused argument.
Modified: pypy/branch/markcompact/pypy/rpython/memory/gc/markcompact.py
==============================================================================
--- pypy/branch/markcompact/pypy/rpython/memory/gc/markcompact.py (original)
+++ pypy/branch/markcompact/pypy/rpython/memory/gc/markcompact.py Fri Aug 27 19:43:45 2010
@@ -156,7 +156,7 @@
return totalsize
_get_totalsize_var._always_inline_ = True
- def _setup_object(self, result, typeid16, has_finalizer, contains_weakptr):
+ def _setup_object(self, result, typeid16, has_finalizer):
size_gc_header = self.gcheaderbuilder.size_gc_header
self.init_gc_object(result, typeid16)
if has_finalizer:
@@ -169,8 +169,7 @@
size_gc_header = self.gcheaderbuilder.size_gc_header
totalsize = size_gc_header + size
result = self._get_memory(totalsize)
- return self._setup_object(result, typeid16, has_finalizer,
- contains_weakptr)
+ return self._setup_object(result, typeid16, has_finalizer)
def malloc_fixedsize_clear(self, typeid16, size, can_collect,
has_finalizer=False, contains_weakptr=False):
@@ -178,8 +177,7 @@
totalsize = size_gc_header + size
result = self._get_memory(totalsize)
llmemory.raw_memclear(result, totalsize)
- return self._setup_object(result, typeid16, has_finalizer,
- contains_weakptr)
+ return self._setup_object(result, typeid16, has_finalizer)
def malloc_varsize_clear(self, typeid16, length, size, itemsize,
offset_to_length, can_collect):
@@ -189,7 +187,7 @@
result = self._get_memory(totalsize)
llmemory.raw_memclear(result, totalsize)
(result + size_gc_header + offset_to_length).signed[0] = length
- return self._setup_object(result, typeid16, False, False)
+ return self._setup_object(result, typeid16, False)
def obtain_free_space(self, requested_size):
while True:
More information about the Pypy-commit
mailing list