[pypy-svn] r26290 - pypy/dist/pypy/translator/cl
sanxiyn at codespeak.net
sanxiyn at codespeak.net
Tue Apr 25 08:24:45 CEST 2006
Author: sanxiyn
Date: Tue Apr 25 08:24:40 2006
New Revision: 26290
Modified:
pypy/dist/pypy/translator/cl/buildcl.py
pypy/dist/pypy/translator/cl/gencl.py
Log:
Remove crufts
Modified: pypy/dist/pypy/translator/cl/buildcl.py
==============================================================================
--- pypy/dist/pypy/translator/cl/buildcl.py (original)
+++ pypy/dist/pypy/translator/cl/buildcl.py Tue Apr 25 08:24:40 2006
@@ -95,7 +95,7 @@
if conftest.option.view:
t.view()
- gen = GenCL(t, func, argtypes)
+ gen = GenCL(t, func)
out = gen.emitcode()
i = 1
fpath = path.join("%s.lisp" % func.func_name)
Modified: pypy/dist/pypy/translator/cl/gencl.py
==============================================================================
--- pypy/dist/pypy/translator/cl/gencl.py (original)
+++ pypy/dist/pypy/translator/cl/gencl.py Tue Apr 25 08:24:40 2006
@@ -132,12 +132,12 @@
class GenCL:
- def __init__(self, context, funobj, input_arg_types=[]):
+ def __init__(self, context, funobj):
self.context = context
self.pendinggraphs = [funobj]
self.declarations = []
- def emitcode(self, public=True):
+ def emitcode(self):
lines = list(self.emit())
declarations = "\n".join(self.declarations)
code = "\n".join(lines)
More information about the Pypy-commit
mailing list