[pypy-svn] r48582 - pypy/dist/pypy/translator/llvm
rxe at codespeak.net
rxe at codespeak.net
Sun Nov 11 22:58:54 CET 2007
Author: rxe
Date: Sun Nov 11 22:58:54 2007
New Revision: 48582
Modified:
pypy/dist/pypy/translator/llvm/codewriter.py
pypy/dist/pypy/translator/llvm/opwriter.py
Log:
cosmetics
Modified: pypy/dist/pypy/translator/llvm/codewriter.py
==============================================================================
--- pypy/dist/pypy/translator/llvm/codewriter.py (original)
+++ pypy/dist/pypy/translator/llvm/codewriter.py Sun Nov 11 22:58:54 2007
@@ -63,7 +63,9 @@
def header_comment(self, s):
self.newline()
- self.comment(s)
+ self.comment('=' * 78, indent=False)
+ self.comment(s, indent=False)
+ self.comment('=' * 78, indent=False)
self.newline()
def newline(self):
Modified: pypy/dist/pypy/translator/llvm/opwriter.py
==============================================================================
--- pypy/dist/pypy/translator/llvm/opwriter.py (original)
+++ pypy/dist/pypy/translator/llvm/opwriter.py Sun Nov 11 22:58:54 2007
@@ -150,7 +150,10 @@
if not meth:
raise Exception, "operation %s not found" % op.opname
meth(opr)
-
+
+ if self.db.genllvm.config.translation.llvm.debug:
+ self.codewriter.newline()
+
def _skipped(self, opr):
self.codewriter.comment('***Skipping operation %s()' % opr.op.opname)
keepalive = _skipped
More information about the Pypy-commit
mailing list