[pypy-svn] r13586 - pypy/dist/pypy/translator/goal

arigo at codespeak.net arigo at codespeak.net
Sat Jun 18 20:56:13 CEST 2005


Author: arigo
Date: Sat Jun 18 20:56:12 2005
New Revision: 13586

Modified:
   pypy/dist/pypy/translator/goal/translate_pypy.py
Log:
We need the rtyper to get attached to the translator, otherwise some features
of genc won't work.


Modified: pypy/dist/pypy/translator/goal/translate_pypy.py
==============================================================================
--- pypy/dist/pypy/translator/goal/translate_pypy.py	(original)
+++ pypy/dist/pypy/translator/goal/translate_pypy.py	Sat Jun 18 20:56:12 2005
@@ -106,8 +106,7 @@
         a.simplify()
     if a and not options['-no-t']:
         print 'Specializing...'
-        typer = RPythonTyper(a)
-        typer.specialize()
+        t.specialize()
     t.frozen = True   # cannot freeze if we don't have annotations
     if not options['-no-mark-some-objects']:
         options['-no-mark-some-objects'] = True # Do not do this again



More information about the Pypy-commit mailing list