[pypy-svn] r33233 - pypy/dist/pypy/jit/codegen/ppc

arigo at codespeak.net arigo at codespeak.net
Thu Oct 12 17:09:25 CEST 2006


Author: arigo
Date: Thu Oct 12 17:09:24 2006
New Revision: 33233

Modified:
   pypy/dist/pypy/jit/codegen/ppc/rppcgenop.py
Log:
Untested check-in (argh!).  Looks like a fix to me, though.


Modified: pypy/dist/pypy/jit/codegen/ppc/rppcgenop.py
==============================================================================
--- pypy/dist/pypy/jit/codegen/ppc/rppcgenop.py	(original)
+++ pypy/dist/pypy/jit/codegen/ppc/rppcgenop.py	Thu Oct 12 17:09:24 2006
@@ -103,7 +103,7 @@
         return baseaddr + self._pos * 4
 
     def __del__(self):
-        memhandler.free(cast(self._data, memhandler.PTR), self._size)
+        memhandler.free(cast(self._data, memhandler.PTR), self._size * 4)
 
 ##     def execute(self, arg1, arg2):
 ##         fnptr = cast(self._data, binaryfn)



More information about the Pypy-commit mailing list