[pypy-commit] pypy default: kill pdb and fish the config from the translator

antocuni noreply at buildbot.pypy.org
Mon Jun 13 19:10:47 CEST 2011


Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: 
Changeset: r44910:89ab118330c2
Date: 2011-06-13 18:29 +0200
http://bitbucket.org/pypy/pypy/changeset/89ab118330c2/

Log:	kill pdb and fish the config from the translator

diff --git a/pypy/jit/metainterp/pyjitpl.py b/pypy/jit/metainterp/pyjitpl.py
--- a/pypy/jit/metainterp/pyjitpl.py
+++ b/pypy/jit/metainterp/pyjitpl.py
@@ -1273,7 +1273,7 @@
         self.profiler.cpu = cpu
         self.warmrunnerdesc = warmrunnerdesc
         if warmrunnerdesc:
-            import pdb;pdb.set_trace()
+            self.config = warmrunnerdesc.translator.config
         else:
             from pypy.config.pypyoption import get_pypy_config
             self.config = get_pypy_config(translating=True)


More information about the pypy-commit mailing list