[pypy-svn] r17571 - pypy/dist/pypy/translator/backendopt
arigo at codespeak.net
arigo at codespeak.net
Wed Sep 14 19:39:24 CEST 2005
Author: arigo
Date: Wed Sep 14 19:39:23 2005
New Revision: 17571
Modified:
pypy/dist/pypy/translator/backendopt/all.py
Log:
Inlining and malloc removal seem to work now...
Modified: pypy/dist/pypy/translator/backendopt/all.py
==============================================================================
--- pypy/dist/pypy/translator/backendopt/all.py (original)
+++ pypy/dist/pypy/translator/backendopt/all.py Wed Sep 14 19:39:23 2005
@@ -6,8 +6,8 @@
from pypy.translator import simplify
-def backend_optimizations(translator, inline_threshold=0, # XXX in-progress, should be 1
- mallocs=False, # XXX in-progress
+def backend_optimizations(translator, inline_threshold=1,
+ mallocs=True,
ssa_form=True):
# remove obvious no-ops
for graph in translator.flowgraphs.values():
@@ -30,3 +30,5 @@
if ssa_form:
for graph in translator.flowgraphs.values():
SSI_to_SSA(graph)
+
+ translator.checkgraphs()
More information about the Pypy-commit
mailing list