[pypy-commit] pypy default: Print the extraeffect field too.

arigo noreply at buildbot.pypy.org
Fri Jun 17 09:45:54 CEST 2011


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r44983:586ff6f355d2
Date: 2011-06-17 09:49 +0200
http://bitbucket.org/pypy/pypy/changeset/586ff6f355d2/

Log:	Print the extraeffect field too.

diff --git a/pypy/jit/backend/llsupport/descr.py b/pypy/jit/backend/llsupport/descr.py
--- a/pypy/jit/backend/llsupport/descr.py
+++ b/pypy/jit/backend/llsupport/descr.py
@@ -267,6 +267,9 @@
 
     def __repr__(self):
         res = '%s(%s)' % (self.__class__.__name__, self.arg_classes)
+        extraeffect = getattr(self.extrainfo, 'extraeffect', None)
+        if extraeffect is not None:
+            res += ' EF=%r' % extraeffect
         oopspecindex = getattr(self.extrainfo, 'oopspecindex', 0)
         if oopspecindex:
             from pypy.jit.codewriter.effectinfo import EffectInfo


More information about the pypy-commit mailing list