[pypy-svn] r62718 - pypy/trunk/pypy/translator/goal

fijal at codespeak.net fijal at codespeak.net
Sat Mar 7 17:58:00 CET 2009


Author: fijal
Date: Sat Mar  7 17:58:00 2009
New Revision: 62718

Modified:
   pypy/trunk/pypy/translator/goal/targetpypystandalone.py
Log:
update pypy target


Modified: pypy/trunk/pypy/translator/goal/targetpypystandalone.py
==============================================================================
--- pypy/trunk/pypy/translator/goal/targetpypystandalone.py	(original)
+++ pypy/trunk/pypy/translator/goal/targetpypystandalone.py	Sat Mar  7 17:58:00 2009
@@ -198,9 +198,9 @@
 
         return self.get_entry_point(config)
 
-    def portal(self, driver):
-        from pypy.module.pypyjit.portal import get_portal
-        return get_portal(driver)
+    def jitpolicy(self, driver):
+        from pypy.module.pypyjit.portal import PyPyJitPolicy
+        return PyPyJitPolicy(driver.translator)
     
     def get_entry_point(self, config):
         space = make_objspace(config)
@@ -215,7 +215,7 @@
 
     def interface(self, ns):
         for name in ['take_options', 'handle_config', 'print_help', 'target',
-                     'portal',
+                     'jitpolicy',
                      'get_additional_config_options']:
             ns[name] = getattr(self, name)
 



More information about the Pypy-commit mailing list