[pypy-svn] pypy jitypes2: we must use the noopt logger in order to get meaningful variable numbers

antocuni commits-noreply at bitbucket.org
Thu Jan 27 10:09:20 CET 2011


Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: jitypes2
Changeset: r41381:b99bcc9c28a8
Date: 2011-01-27 10:07 +0100
http://bitbucket.org/pypy/pypy/changeset/b99bcc9c28a8/

Log:	we must use the noopt logger in order to get meaningful variable
	numbers

diff --git a/pypy/jit/metainterp/optimizeopt/fficall.py b/pypy/jit/metainterp/optimizeopt/fficall.py
--- a/pypy/jit/metainterp/optimizeopt/fficall.py
+++ b/pypy/jit/metainterp/optimizeopt/fficall.py
@@ -73,7 +73,7 @@
 
     def setup(self):
         self.funcinfo = None
-        self.logger = self.optimizer.metainterp_sd.logger_ops
+        self.logger = self.optimizer.metainterp_sd.logger_noopt
 
     def propagate_begin_forward(self):
         debug_start('jit-log-ffiopt')


More information about the Pypy-commit mailing list