[pypy-svn] r58472 - pypy/branch/gc-experiments/pypy/rpython/lltypesystem

fijal at codespeak.net fijal at codespeak.net
Mon Sep 29 13:24:06 CEST 2008


Author: fijal
Date: Mon Sep 29 13:24:05 2008
New Revision: 58472

Modified:
   pypy/branch/gc-experiments/pypy/rpython/lltypesystem/llmemory.py
Log:
make this a bit more annotation-friendly


Modified: pypy/branch/gc-experiments/pypy/rpython/lltypesystem/llmemory.py
==============================================================================
--- pypy/branch/gc-experiments/pypy/rpython/lltypesystem/llmemory.py	(original)
+++ pypy/branch/gc-experiments/pypy/rpython/lltypesystem/llmemory.py	Mon Sep 29 13:24:05 2008
@@ -736,6 +736,11 @@
     assert lltype.typeOf(dest)   == Address
     size.raw_memcopy(source, dest)
 
+def raw_memmove(source, dest, size):
+    # for now let's assume that raw_memmove is the same as raw_memcopy,
+    # when run on top of fake addresses
+    raw_memcopy(source, dest, size)
+
 def cast_any_ptr(EXPECTED_TYPE, ptr):
     # this is a generalization of the various cast_xxx_ptr() functions.
     PTRTYPE = lltype.typeOf(ptr)



More information about the Pypy-commit mailing list