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

arigo at codespeak.net arigo at codespeak.net
Sat Mar 7 15:47:59 CET 2009


Author: arigo
Date: Sat Mar  7 15:47:58 2009
New Revision: 62712

Modified:
   pypy/trunk/pypy/translator/goal/targetpypystandalone.py
Log:
Oups, this was messed up.


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 15:47:58 2009
@@ -172,10 +172,10 @@
         if not config.translation.rweakref:
             config.objspace.usemodules._weakref = False
 
-        if self.translateconfig.goal_options.jit:
+        if config.translation.jit:
             config.objspace.usemodules.pypyjit = True
         elif config.objspace.usemodules.pypyjit:
-            self.translateconfig.goal_options.jit = True
+            config.translation.jit = True
 
         if config.translation.backend == "cli":
             config.objspace.usemodules.clr = True



More information about the Pypy-commit mailing list