[pypy-svn] r27528 - pypy/dist/pypy/translator/cli
fijal at codespeak.net
fijal at codespeak.net
Sun May 21 11:48:17 CEST 2006
Author: fijal
Date: Sun May 21 11:48:15 2006
New Revision: 27528
Modified:
pypy/dist/pypy/translator/cli/gencli.py
Log:
Some compatibility issues on gencli/genjs line.
Modified: pypy/dist/pypy/translator/cli/gencli.py
==============================================================================
--- pypy/dist/pypy/translator/cli/gencli.py (original)
+++ pypy/dist/pypy/translator/cli/gencli.py Sun May 21 11:48:15 2006
@@ -26,11 +26,12 @@
class GenCli(object):
def __init__(self, tmpdir, translator, entrypoint = None, type_system_class = CTS, \
- opcode_dict = opcodes, name_suffix = '.il' ):
+ opcode_dict = opcodes, name_suffix = '.il', function_class = Function ):
self.tmpdir = tmpdir
self.translator = translator
self.entrypoint = entrypoint
- self.db = LowLevelDatabase( type_system_class = type_system_class , opcode_dict = opcode_dict )
+ self.db = LowLevelDatabase( type_system_class = type_system_class , opcode_dict = opcode_dict,
+ function_class = function_class )
if entrypoint is None:
self.assembly_name = self.translator.graphs[0].name
More information about the Pypy-commit
mailing list