[pypy-svn] r62897 - pypy/branch/pyjitpl5/pypy/jit/backend/x86
fijal at codespeak.net
fijal at codespeak.net
Thu Mar 12 18:35:19 CET 2009
Author: fijal
Date: Thu Mar 12 18:35:19 2009
New Revision: 62897
Modified:
pypy/branch/pyjitpl5/pypy/jit/backend/x86/assembler.py
Log:
a bit of debugging info in case we're translated
Modified: pypy/branch/pyjitpl5/pypy/jit/backend/x86/assembler.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/jit/backend/x86/assembler.py (original)
+++ pypy/branch/pyjitpl5/pypy/jit/backend/x86/assembler.py Thu Mar 12 18:35:19 2009
@@ -85,6 +85,14 @@
print
pprint.pprint(computed_ops)
print
+ if self.verbose and we_are_translated():
+ print
+ for op in operations:
+ args = ",".join([str(arg.get_()) for arg in op.args])
+ llop.debug_print(lltype.Void, "%s %s" % (op.getopname(), args))
+ if op.result is not None:
+ llop.debug_print(lltype.Void, " => %s" % str(op.result.get_()))
+ print
for i in range(len(computed_ops)):
op = computed_ops[i]
if not we_are_translated():
More information about the Pypy-commit
mailing list