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

arigo at codespeak.net arigo at codespeak.net
Tue Mar 16 10:37:31 CET 2010


Author: arigo
Date: Tue Mar 16 10:37:29 2010
New Revision: 72269

Modified:
   pypy/trunk/pypy/translator/goal/translate.py
Log:
issue493 resolved


Modified: pypy/trunk/pypy/translator/goal/translate.py
==============================================================================
--- pypy/trunk/pypy/translator/goal/translate.py	(original)
+++ pypy/trunk/pypy/translator/goal/translate.py	Tue Mar 16 10:37:29 2010
@@ -264,6 +264,10 @@
             if (translateconfig.goals != ['annotate'] and
                 translateconfig.goals != ['rtype']):
                 drv.set_extra_goals(['pyjitpl'])
+            # early check:
+            from pypy.jit.backend.detect_cpu import getcpuclassname
+            getcpuclassname(config.translation.jit_backend)
+
         log_config(config.translation, "translation configuration")
         pdb_plus_show.expose({'drv': drv, 'prof': prof})
 



More information about the Pypy-commit mailing list