[pypy-svn] r69989 - pypy/branch/listcopyop/pypy/rlib

arigo at codespeak.net arigo at codespeak.net
Tue Dec 8 17:27:22 CET 2009


Author: arigo
Date: Tue Dec  8 17:27:19 2009
New Revision: 69989

Modified:
   pypy/branch/listcopyop/pypy/rlib/rgc.py
Log:
Oups, there still is: raw_memcopy().


Modified: pypy/branch/listcopyop/pypy/rlib/rgc.py
==============================================================================
--- pypy/branch/listcopyop/pypy/rlib/rgc.py	(original)
+++ pypy/branch/listcopyop/pypy/rlib/rgc.py	Tue Dec  8 17:27:19 2009
@@ -333,6 +333,7 @@
     from pypy.rpython.lltypesystem.lloperation import llop
     from pypy.rpython.lltypesystem import lltype, llmemory
 
+    assert source != dest
     TP = lltype.typeOf(source).TO
     assert TP == lltype.typeOf(dest).TO
     if isinstance(TP.OF, lltype.Ptr) and TP.OF.TO._gckind == 'gc':



More information about the Pypy-commit mailing list