[pypy-svn] r9576 - pypy/dist/goal

pedronis at codespeak.net pedronis at codespeak.net
Wed Mar 2 01:49:46 CET 2005


Author: pedronis
Date: Wed Mar  2 01:49:46 2005
New Revision: 9576

Modified:
   pypy/dist/goal/translate_pypy0.py
Log:
update this goal setup



Modified: pypy/dist/goal/translate_pypy0.py
==============================================================================
--- pypy/dist/goal/translate_pypy0.py	(original)
+++ pypy/dist/goal/translate_pypy0.py	Wed Mar  2 01:49:46 2005
@@ -52,15 +52,8 @@
     # caches (as far as analyzing the entry_point is concerned)
 
     from pypy.interpreter import pycode
-    from pypy.interpreter import pyopcode
-    from pypy.interpreter import nestedscope
-    from pypy.interpreter import generator
-
-    for comb in ((),(nestedscope.PyNestedScopeFrame,),(generator.GeneratorFrame,),(nestedscope.PyNestedScopeFrame,generator.GeneratorFrame)):
-        F = pyopcode.PyInterpFrame
-        for x in comb:
-            F = pycode.enhanceclass(F, x)
-        #print F.__mro__
+
+    pycode.setup_frame_classes()
 
     t = Translator(entry_point, verbose=True, simplifying=True)
     if listen_port:



More information about the Pypy-commit mailing list