[pypy-svn] r48209 - pypy/dist/pypy/translator/llvm
rxe at codespeak.net
rxe at codespeak.net
Tue Oct 30 19:25:06 CET 2007
Author: rxe
Date: Tue Oct 30 19:25:05 2007
New Revision: 48209
Modified:
pypy/dist/pypy/translator/llvm/modwrapper.py
Log:
missing return statement
Modified: pypy/dist/pypy/translator/llvm/modwrapper.py
==============================================================================
--- pypy/dist/pypy/translator/llvm/modwrapper.py (original)
+++ pypy/dist/pypy/translator/llvm/modwrapper.py Tue Oct 30 19:25:05 2007
@@ -119,6 +119,9 @@
raise Exception("struct must be of same kind")
if F0 not in TO_CTYPES:
raise Exception("struct must be of primitve type")
+
+ return to_tuple % (len(fields), TO_CTYPES[F0])
+
elif isinstance(T, lltype.Ptr) and isinstance(T.TO, lltype.Array):
OF = T.TO.OF
if OF not in TO_CTYPES:
More information about the Pypy-commit
mailing list