[pypy-svn] r79193 - pypy/branch/jit-free/pypy/translator/c

arigo at codespeak.net arigo at codespeak.net
Wed Nov 17 14:20:06 CET 2010


Author: arigo
Date: Wed Nov 17 14:20:05 2010
New Revision: 79193

Modified:
   pypy/branch/jit-free/pypy/translator/c/funcgen.py
Log:
debug_print(long long).


Modified: pypy/branch/jit-free/pypy/translator/c/funcgen.py
==============================================================================
--- pypy/branch/jit-free/pypy/translator/c/funcgen.py	(original)
+++ pypy/branch/jit-free/pypy/translator/c/funcgen.py	Wed Nov 17 14:20:05 2010
@@ -757,6 +757,10 @@
                 format.append('%s')
                 argv.append('(%s) ? "True" : "False"' % self.expr(arg))
                 continue
+            elif T == SignedLongLong:
+                format.append('%lld')
+            elif T == UnsignedLongLong:
+                format.append('%llu')
             else:
                 raise Exception("don't know how to debug_print %r" % (T,))
             argv.append(self.expr(arg))



More information about the Pypy-commit mailing list