[pypy-svn] r36620 - pypy/dist/pypy/translator
antocuni at codespeak.net
antocuni at codespeak.net
Fri Jan 12 21:18:13 CET 2007
Author: antocuni
Date: Fri Jan 12 21:18:09 2007
New Revision: 36620
Modified:
pypy/dist/pypy/translator/driver.py
Log:
enable some backend optimizations for jvm backend.
Modified: pypy/dist/pypy/translator/driver.py
==============================================================================
--- pypy/dist/pypy/translator/driver.py (original)
+++ pypy/dist/pypy/translator/driver.py Fri Jan 12 21:18:09 2007
@@ -358,6 +358,10 @@
opt['merge_if_blocks'] = True
opt['inline_threshold'] = 1
opt['mallocs'] = True
+
+ if self.config.translation.backend == 'jvm':
+ opt['inline_threshold'] = 1
+ opt['mallocs'] = True
backend_optimizations(self.translator, **opt)
#
task_backendopt_ootype = taskdef(task_backendopt_ootype,
More information about the Pypy-commit
mailing list