[pypy-svn] r40969 - pypy/dist/pypy/jit/codegen/ppc
mwh at codespeak.net
mwh at codespeak.net
Wed Mar 21 20:21:05 CET 2007
Author: mwh
Date: Wed Mar 21 20:21:03 2007
New Revision: 40969
Modified:
pypy/dist/pypy/jit/codegen/ppc/_flush_icache.c
Log:
actually have the _flush_icache extension module do something
(thanks xorAxAx for the spot)
Modified: pypy/dist/pypy/jit/codegen/ppc/_flush_icache.c
==============================================================================
--- pypy/dist/pypy/jit/codegen/ppc/_flush_icache.c (original)
+++ pypy/dist/pypy/jit/codegen/ppc/_flush_icache.c Wed Mar 21 20:21:03 2007
@@ -4,6 +4,12 @@
static PyObject*
_flush_icache(PyObject *self, PyObject *args)
{
+ long base, size;
+
+ if (!PyArg_ParseTuple(args, "ii:_flush_icache", &base, &size))
+ return NULL;
+
+ LL_flush_icache(base, size);
Py_INCREF(Py_None);
return Py_None;
}
More information about the Pypy-commit
mailing list