[pypy-svn] r43788 - pypy/branch/kill-ctypes/pypy/rpython

fijal at codespeak.net fijal at codespeak.net
Mon May 28 15:06:11 CEST 2007


Author: fijal
Date: Mon May 28 15:06:10 2007
New Revision: 43788

Modified:
   pypy/branch/kill-ctypes/pypy/rpython/llinterp.py
Log:
Add a non-working method for tests to start complain. My guess is that
this kind of operation should never be seen by llinterp, but I cannot judge now.


Modified: pypy/branch/kill-ctypes/pypy/rpython/llinterp.py
==============================================================================
--- pypy/branch/kill-ctypes/pypy/rpython/llinterp.py	(original)
+++ pypy/branch/kill-ctypes/pypy/rpython/llinterp.py	Mon May 28 15:06:10 2007
@@ -641,6 +641,12 @@
         assert self.llinterpreter.gc is None
         return self.heap.malloc(obj, size, zero=True)
 
+    def op_flavored_malloc_varsize(self, flavor, obj, size):
+        XXX # probably should be never seen, and if so, should
+        # be tested
+        assert isinstance(flavor, str)
+        return self.heap.malloc(obj, flavor=flavor)
+
     def op_flavored_malloc(self, flavor, obj):
         assert isinstance(flavor, str)
         if flavor == "stack":



More information about the Pypy-commit mailing list