[pypy-commit] pypy jit-short_from_state: debuging

hakanardo noreply at buildbot.pypy.org
Sat Aug 6 12:58:33 CEST 2011


Author: Hakan Ardo <hakan at debian.org>
Branch: jit-short_from_state
Changeset: r46318:391907aa38ba
Date: 2011-08-05 18:36 +0200
http://bitbucket.org/pypy/pypy/changeset/391907aa38ba/

Log:	debuging

diff --git a/pypy/jit/metainterp/optimizeopt/unroll.py b/pypy/jit/metainterp/optimizeopt/unroll.py
--- a/pypy/jit/metainterp/optimizeopt/unroll.py
+++ b/pypy/jit/metainterp/optimizeopt/unroll.py
@@ -382,6 +382,8 @@
             if i == len(self.optimizer.newoperations):
                 while j < len(jumpargs):
                     a = jumpargs[j]
+                    if self.optimizer.loop.logops:
+                        debug_print('J:  ' + self.optimizer.loop.logops.repr_of_arg(a))
                     self.import_box(a, inputargs, short, short_jumpargs,
                                     jumpargs, short_seen)
                     j += 1


More information about the pypy-commit mailing list