[pypy-svn] r22251 - pypy/dist/pypy/rpython/memory
mwh at codespeak.net
mwh at codespeak.net
Tue Jan 17 14:50:32 CET 2006
Author: mwh
Date: Tue Jan 17 14:50:31 2006
New Revision: 22251
Modified:
pypy/dist/pypy/rpython/memory/gc.py
Log:
fix misspelt method name.
Modified: pypy/dist/pypy/rpython/memory/gc.py
==============================================================================
--- pypy/dist/pypy/rpython/memory/gc.py (original)
+++ pypy/dist/pypy/rpython/memory/gc.py Tue Jan 17 14:50:31 2006
@@ -263,7 +263,7 @@
if not self.fromspace <= obj < self.fromspace + self.space_size:
return self.copy_non_managed_obj(obj)
## print "copying regularly", obj,
- if self.is_forwared(obj):
+ if self.is_forwarded(obj):
## print "already copied to", self.get_forwarding_address(obj)
return self.get_forwarding_address(obj)
else:
@@ -310,7 +310,7 @@
j += 1
i += 1
- def is_forwared(self, obj):
+ def is_forwarded(self, obj):
return (obj - self.size_gc_header()).signed[1] < 0
def get_forwarding_address(self, obj):
More information about the Pypy-commit
mailing list