[pypy-svn] r64980 - pypy/branch/pyjitpl5/pypy/jit/metainterp

fijal at codespeak.net fijal at codespeak.net
Sat May 2 18:50:05 CEST 2009


Author: fijal
Date: Sat May  2 18:50:04 2009
New Revision: 64980

Modified:
   pypy/branch/pyjitpl5/pypy/jit/metainterp/warmspot.py
Log:
disable profile by default, debugging confuses buildbot.


Modified: pypy/branch/pyjitpl5/pypy/jit/metainterp/warmspot.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/jit/metainterp/warmspot.py	(original)
+++ pypy/branch/pyjitpl5/pypy/jit/metainterp/warmspot.py	Sat May  2 18:50:04 2009
@@ -26,16 +26,22 @@
 # ____________________________________________________________
 # Bootstrapping
 
+PROFILE = False
+
 def apply_jit(translator, backend_name="auto", **kwds):
     from pypy.jit.metainterp.simple_optimize import Optimizer
     if 'CPUClass' not in kwds:
         from pypy.jit.backend.detect_cpu import getcpuclass
         kwds['CPUClass'] = getcpuclass(backend_name)
+    if PROFILE:
+        profile = Profiler
+    else:
+        profile = None
     warmrunnerdesc = WarmRunnerDesc(translator,
                                     translate_support_code=True,
                                     listops=True,
                                     optimizer=Optimizer,
-                                    profile=Profiler,
+                                    profile=profile,
                                     **kwds)
     warmrunnerdesc.finish()
     translator.warmrunnerdesc = warmrunnerdesc    # for later debugging



More information about the Pypy-commit mailing list